home *** CD-ROM | disk | FTP | other *** search
/ AppleScript - The Beta Release / AppleScript - The Beta Release.iso / Documentation / IM-Interapplication Comm / IM—Interapplication Comm < prev   
MacBinary  |  1992-11-17  |  5.7 MB  |  [ONLN/HLX2]

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was processed as: MacBinary (archive/macBinary).

You can browse this item here: IM—Interapplication Comm

ConfidenceProgramDetectionMatch TypeSupport
10% dexvert MacBinary (archive/macBinary) fallback Supported
100% file MacBinary II, inited, Tue Nov 17 11:22:55 1992, modified Tue Nov 17 13:48:26 1992, creator 'HLX2', type 'ONLN', 5908573 bytes "IM�Interapplication Comm" , at 0x5a28dd 112155 bytes resource default (weak)
99% file data default
100% TrID MacBinary 2 default (weak)
100% dexmagic Picasso 64 Image default (weak)
100% siegfried fmt/1762 MacBinary (II) default
50% lsar MacBinary default


id metadata
keyvalue
macFileType[ONLN]
macFileCreator[HLX2]



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 00 18 49 4d d1 49 6e 74 | 65 72 61 70 70 6c 69 63 |..IM.Int|erapplic|
|00000010| 61 74 69 6f 6e 20 43 6f | 6d 6d 00 00 00 00 00 00 |ation Co|mm......|
|00000020| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000030| 00 00 00 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000040| 00 4f 4e 4c 4e 48 4c 58 | 32 01 00 00 00 00 00 00 |.ONLNHLX|2.......|
|00000050| 00 00 00 00 5a 28 5d 00 | 01 b6 1b a7 2e cc df a7 |....Z(].|........|
|00000060| 2e ee fa 00 00 00 00 00 | 00 00 00 00 00 00 00 00 |........|........|
|00000070| 00 00 00 00 00 00 00 00 | 00 00 81 81 7e bb 00 00 |........|....~...|
|00000080| 3c 24 70 61 72 61 74 65 | 78 74 3e 14 14 3c 24 70 |<$parate|xt>..<$p|
|00000090| 61 67 65 6e 75 6d 3e 0d | 3c 24 70 61 72 61 74 65 |agenum>.|<$parate|
|000000a0| 78 74 3e 14 14 3c 24 70 | 61 67 65 6e 75 6d 3e 0d |xt>..<$p|agenum>.|
|000000b0| 3c 24 70 61 72 61 74 65 | 78 74 3e 14 14 3c 24 70 |<$parate|xt>..<$p|
|000000c0| 61 67 65 6e 75 6d 3e 0d | 3c 24 70 61 72 61 74 65 |agenum>.|<$parate|
|000000d0| 78 74 3e 14 14 3c 24 70 | 61 67 65 6e 75 6d 3e 0d |xt>..<$p|agenum>.|
|000000e0| 3c 24 70 61 72 61 74 65 | 78 74 3e 14 14 3c 24 70 |<$parate|xt>..<$p|
|000000f0| 61 67 65 6e 75 6d 3e 0d | 3c 24 70 61 72 61 74 65 |agenum>.|<$parate|
|00000100| 78 74 3e 14 14 3c 24 70 | 61 67 65 6e 75 6d 3e 0d |xt>..<$p|agenum>.|
|00000110| 43 68 61 70 74 65 72 20 | 3c 24 70 61 72 61 6e 75 |Chapter |<$paranu|
|00000120| 6d 3e 09 3c 24 70 61 72 | 61 74 65 78 74 3e 14 14 |m>.<$par|atext>..|
|00000130| 3c 24 70 61 67 65 6e 75 | 6d 3e 0d 43 68 61 70 74 |<$pagenu|m>.Chapt|
|00000140| 65 72 20 3c 24 70 61 72 | 61 6e 75 6d 3e 09 3c 24 |er <$par|anum>.<$|
|00000150| 70 61 72 61 74 65 78 74 | 3e 14 14 3c 24 70 61 67 |paratext|>..<$pag|
|00000160| 65 6e 75 6d 3e 0d 41 70 | 70 65 6e 64 69 78 20 3c |enum>.Ap|pendix <|
|00000170| 24 70 61 72 61 6e 75 6d | 3e 09 3c 24 70 61 72 61 |$paranum|>.<$para|
|00000180| 74 65 78 74 3e 14 14 3c | 24 70 61 67 65 6e 75 6d |text>..<|$pagenum|
|00000190| 3e 0d 50 72 65 66 61 63 | 65 09 3c 24 70 61 72 61 |>.Prefac|e.<$para|
|000001a0| 74 65 78 74 3e 14 14 3c | 24 70 61 67 65 6e 75 6d |text>..<|$pagenum|
|000001b0| 3e 0d 3c 24 70 61 72 61 | 74 65 78 74 3e 14 14 3c |>.<$para|text>..<|
|000001c0| 24 70 61 67 65 6e 75 6d | 3e 0d 3c 24 70 61 72 61 |$pagenum|>.<$para|
|000001d0| 74 65 78 74 3e 14 14 3c | 24 70 61 67 65 6e 75 6d |text>..<|$pagenum|
|000001e0| 3e 0d 50 61 72 74 20 3c | 24 70 61 72 61 6e 75 6d |>.Part <|$paranum|
|000001f0| 3e 09 3c 24 70 61 72 61 | 74 65 78 74 3e 0d 3c 24 |>.<$para|text>.<$|
|00000200| 70 61 72 61 74 65 78 74 | 3e 14 14 3c 24 70 61 67 |paratext|>..<$pag|
|00000210| 65 6e 75 6d 3e 0d 3c 24 | 70 61 72 61 74 65 78 74 |enum>.<$|paratext|
|00000220| 3e 14 14 3c 24 70 61 67 | 65 6e 75 6d 3e 0d 3c 24 |>..<$pag|enum>.<$|
|00000230| 70 61 72 61 6e 75 6d 3e | 09 3c 24 70 61 72 61 74 |paranum>|.<$parat|
|00000240| 65 78 74 3e 14 14 3c 24 | 70 61 67 65 6e 75 6d 3e |ext>..<$|pagenum>|
|00000250| 0d 3c 24 70 61 72 61 6e | 75 6d 3e 09 3c 24 70 61 |.<$paran|um>.<$pa|
|00000260| 72 61 74 65 78 74 3e 14 | 14 3c 24 70 61 67 65 6e |ratext>.|.<$pagen|
|00000270| 75 6d 3e 0d 3c 24 70 61 | 72 61 6e 75 6d 3e 09 3c |um>.<$pa|ranum>.<|
|00000280| 24 70 61 72 61 74 65 78 | 74 3e 14 14 3c 24 70 61 |$paratex|t>..<$pa|
|00000290| 67 65 6e 75 6d 3e 0d 3c | 24 70 61 72 61 6e 75 6d |genum>.<|$paranum|
|000002a0| 3e 09 3c 24 70 61 72 61 | 74 65 78 74 3e 14 14 3c |>.<$para|text>..<|
|000002b0| 24 70 61 67 65 6e 75 6d | 3e 0d 3c 24 70 61 72 61 |$pagenum|>.<$para|
|000002c0| 6e 75 6d 3e 09 3c 24 70 | 61 72 61 74 65 78 74 3e |num>.<$p|aratext>|
|000002d0| 14 14 3c 24 70 61 67 65 | 6e 75 6d 3e 0d 43 68 61 |..<$page|num>.Cha|
|000002e0| 70 74 65 72 20 3c 24 70 | 61 72 61 6e 75 6d 3e 09 |pter <$p|aranum>.|
|000002f0| 3c 24 70 61 72 61 74 65 | 78 74 3e 14 14 3c 24 70 |<$parate|xt>..<$p|
|00000300| 61 67 65 6e 75 6d 3e 0d | 43 68 61 70 74 65 72 20 |agenum>.|Chapter |
|00000310| 3c 24 70 61 72 61 6e 75 | 6d 3e 09 3c 24 70 61 72 |<$paranu|m>.<$par|
|00000320| 61 74 65 78 74 3e 14 14 | 3c 24 70 61 67 65 6e 75 |atext>..|<$pagenu|
|00000330| 6d 3e 0d 41 70 70 65 6e | 64 69 78 20 3c 24 70 61 |m>.Appen|dix <$pa|
|00000340| 72 61 6e 75 6d 3e 09 3c | 24 70 61 72 61 74 65 78 |ranum>.<|$paratex|
|00000350| 74 3e 14 14 3c 24 70 61 | 67 65 6e 75 6d 3e 0d 50 |t>..<$pa|genum>.P|
|00000360| 72 65 66 61 63 65 09 3c | 24 70 61 72 61 74 65 78 |reface.<|$paratex|
|00000370| 74 3e 14 14 3c 24 70 61 | 67 65 6e 75 6d 3e 0d 3c |t>..<$pa|genum>.<|
|00000380| 24 73 79 6d 62 6f 6c 73 | 3e 3c 24 6e 75 6d 65 72 |$symbols|><$numer|
|00000390| 69 63 73 3e 3c 24 61 6c | 70 68 61 62 65 74 69 63 |ics><$al|phabetic|
|000003a0| 73 3e 0d 4c 65 76 65 6c | 33 49 58 0d 4c 65 76 65 |s>.Level|3IX.Leve|
|000003b0| 6c 32 49 58 0d 4c 65 76 | 65 6c 31 49 58 0d 53 79 |l2IX.Lev|el1IX.Sy|
|000003c0| 6d 62 6f 6c 73 5b 5c 20 | 5d 3b 4e 75 6d 65 72 61 |mbols[\ |];Numera|
|000003d0| 6c 73 5b 30 5d 3b 41 3b | 42 3b 43 3b 44 3b 45 3b |ls[0];A;|B;C;D;E;|
|000003e0| 46 3b 47 3b 48 3b 49 3b | 4a 3b 4b 3b 4c 3b 4d 3b |F;G;H;I;|J;K;L;M;|
|000003f0| 4e 3b 4f 3b 50 3b 51 3b | 52 3b 53 3b 54 3b 55 3b |N;O;P;Q;|R;S;T;U;|
|00000400| 56 3b 57 3b 58 3b 59 3b | 5a 0d 3c 24 70 61 67 65 |V;W;X;Y;|Z.<$page|
|00000410| 6e 75 6d 3e 0d d2 d4 d5 | d3 2d 2d d1 d0 20 20 14 |num>....|.--.. .|
|00000420| 13 12 10 27 22 2e 2f 0d | 49 4e 53 49 44 45 20 4d |...'"./.|INSIDE M|
|00000430| 41 43 49 4e 54 4f 53 48 | 0d 49 6e 74 65 72 61 70 |ACINTOSH|.Interap|
|00000440| 70 6c 69 63 61 74 69 6f | 6e 20 43 6f 6d 6d 75 6e |plicatio|n Commun|
|00000450| 69 63 61 74 69 6f 6e 0d | f0 09 41 70 70 6c 65 20 |ication.|..Apple |
|00000460| 43 6f 6d 70 75 74 65 72 | 2c 20 49 6e 63 2e 0d a9 |Computer|, Inc...|
|00000470| 20 3c 24 79 65 61 72 5c | 3e 2c 20 41 70 70 6c 65 | <$year\|>, Apple|
|00000480| 20 43 6f 6d 70 75 74 65 | 72 2c 20 49 6e 63 2e 0d | Compute|r, Inc..|
|00000490| 41 6c 6c 20 72 69 67 68 | 74 73 20 72 65 73 65 72 |All righ|ts reser|
|000004a0| 76 65 64 2e 20 0d 4e 6f | 20 70 61 72 74 20 6f 66 |ved. .No| part of|
|000004b0| 20 74 68 69 73 20 70 75 | 62 6c 69 63 61 74 69 6f | this pu|blicatio|
|000004c0| 6e 20 6d 61 79 20 62 65 | 20 72 65 70 72 6f 64 75 |n may be| reprodu|
|000004d0| 63 65 64 2c 20 73 74 6f | 72 65 64 20 69 6e 20 61 |ced, sto|red in a|
|000004e0| 20 72 65 74 72 69 65 76 | 61 6c 20 73 79 73 74 65 | retriev|al syste|
|000004f0| 6d 2c 20 6f 72 20 74 72 | 61 6e 73 6d 69 74 74 65 |m, or tr|ansmitte|
|00000500| 64 2c 20 69 6e 20 61 6e | 79 20 66 6f 72 6d 20 6f |d, in an|y form o|
|00000510| 72 20 62 79 20 61 6e 79 | 20 6d 65 61 6e 73 2c 20 |r by any| means, |
|00000520| 6d 65 63 68 61 6e 69 63 | 61 6c 2c 20 65 6c 65 63 |mechanic|al, elec|
|00000530| 74 72 6f 6e 69 63 2c 20 | 70 68 6f 74 6f 63 6f 70 |tronic, |photocop|
|00000540| 79 69 6e 67 2c 20 72 65 | 63 6f 72 64 69 6e 67 2c |ying, re|cording,|
|00000550| 20 6f 72 20 6f 74 68 65 | 72 77 69 73 65 2c 20 77 | or othe|rwise, w|
|00000560| 69 74 68 6f 75 74 20 70 | 72 69 6f 72 20 77 72 69 |ithout p|rior wri|
|00000570| 74 74 65 6e 20 70 65 72 | 6d 69 73 73 69 6f 6e 20 |tten per|mission |
|00000580| 6f 66 20 41 70 70 6c 65 | 20 43 6f 6d 70 75 74 65 |of Apple| Compute|
|00000590| 72 2c 20 49 6e 63 2e 20 | 50 72 69 6e 74 65 64 20 |r, Inc. |Printed |
|000005a0| 69 6e 20 74 68 65 20 55 | 6e 69 74 65 64 20 53 74 |in the U|nited St|
|000005b0| 61 74 65 73 20 6f 66 20 | 41 6d 65 72 69 63 61 2e |ates of |America.|
|000005c0| 0d 4e 6f 20 6c 69 63 65 | 6e 73 65 73 2c 20 65 78 |.No lice|nses, ex|
|000005d0| 70 72 65 73 73 20 6f 72 | 20 69 6d 70 6c 69 65 64 |press or| implied|
|000005e0| 2c 20 61 72 65 20 67 72 | 61 6e 74 65 64 20 77 69 |, are gr|anted wi|
|000005f0| 74 68 20 72 65 73 70 65 | 63 74 20 74 6f 20 61 6e |th respe|ct to an|
|00000600| 79 20 6f 66 20 74 68 65 | 20 74 65 63 68 6e 6f 6c |y of the| technol|
|00000610| 6f 67 79 20 64 65 73 63 | 72 69 62 65 64 20 69 6e |ogy desc|ribed in|
|00000620| 20 74 68 69 73 20 62 6f | 6f 6b 2e 20 41 70 70 6c | this bo|ok. Appl|
|00000630| 65 20 72 65 74 61 69 6e | 73 20 61 6c 6c 20 69 6e |e retain|s all in|
|00000640| 74 65 6c 6c 65 63 74 75 | 61 6c 20 70 72 6f 70 65 |tellectu|al prope|
|00000650| 72 74 79 20 72 69 67 68 | 74 73 20 61 73 73 6f 63 |rty righ|ts assoc|
|00000660| 69 61 74 65 64 20 77 69 | 74 68 20 74 68 65 20 74 |iated wi|th the t|
|00000670| 65 63 68 6e 6f 6c 6f 67 | 79 20 64 65 73 63 72 69 |echnolog|y descri|
|00000680| 62 65 64 20 69 6e 20 74 | 68 69 73 20 62 6f 6f 6b |bed in t|his book|
|00000690| 2e 20 54 68 69 73 20 62 | 6f 6f 6b 20 69 73 20 69 |. This b|ook is i|
|000006a0| 6e 74 65 6e 64 65 64 20 | 74 6f 20 61 73 73 69 73 |ntended |to assis|
|000006b0| 74 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 64 65 |t applic|ation de|
|000006c0| 76 65 6c 6f 70 65 72 73 | 20 74 6f 20 64 65 76 65 |velopers| to deve|
|000006d0| 6c 6f 70 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |lop appl|ications|
|000006e0| 20 6f 6e 6c 79 20 66 6f | 72 20 41 70 70 6c 65 20 | only fo|r Apple |
|000006f0| 4d 61 63 69 6e 74 6f 73 | 68 20 63 6f 6d 70 75 74 |Macintos|h comput|
|00000700| 65 72 73 2e 0d 41 70 70 | 6c 65 20 43 6f 6d 70 75 |ers..App|le Compu|
|00000710| 74 65 72 2c 20 49 6e 63 | 2e 0d 32 30 35 32 35 20 |ter, Inc|..20525 |
|00000720| 4d 61 72 69 61 6e 69 20 | 41 76 65 6e 75 65 0d 43 |Mariani |Avenue.C|
|00000730| 75 70 65 72 74 69 6e 6f | 2c 20 43 41 20 39 35 30 |upertino|, CA 950|
|00000740| 31 34 0d 34 30 38 2d 39 | 39 36 2d 31 30 31 30 0d |14.408-9|96-1010.|
|00000750| 41 70 70 6c 65 2c 20 74 | 68 65 20 41 70 70 6c 65 |Apple, t|he Apple|
|00000760| 20 6c 6f 67 6f 2c 20 41 | 70 70 6c 65 53 63 72 69 | logo, A|ppleScri|
|00000770| 70 74 2c 20 4c 61 73 65 | 72 57 72 69 74 65 72 2c |pt, Lase|rWriter,|
|00000780| 20 61 6e 64 20 4d 61 63 | 69 6e 74 6f 73 68 20 61 | and Mac|intosh a|
|00000790| 72 65 20 74 72 61 64 65 | 6d 61 72 6b 73 20 6f 66 |re trade|marks of|
|000007a0| 20 41 70 70 6c 65 20 43 | 6f 6d 70 75 74 65 72 2c | Apple C|omputer,|
|000007b0| 20 49 6e 63 2e 2c 20 72 | 65 67 69 73 74 65 72 65 | Inc., r|egistere|
|000007c0| 64 20 69 6e 20 74 68 65 | 20 55 6e 69 74 65 64 20 |d in the| United |
|000007d0| 53 74 61 74 65 73 20 61 | 6e 64 20 6f 74 68 65 72 |States a|nd other|
|000007e0| 20 63 6f 75 6e 74 72 69 | 65 73 2e 0d 41 64 6f 62 | countri|es..Adob|
|000007f0| 65 20 49 6c 6c 75 73 74 | 72 61 74 6f 72 20 61 6e |e Illust|rator an|
|00000800| 64 20 50 6f 73 74 53 63 | 72 69 70 74 20 61 72 65 |d PostSc|ript are|
|00000810| 20 74 72 61 64 65 6d 61 | 72 6b 73 20 6f 66 20 41 | tradema|rks of A|
|00000820| 64 6f 62 65 20 53 79 73 | 74 65 6d 73 20 49 6e 63 |dobe Sys|tems Inc|
|00000830| 6f 72 70 6f 72 61 74 65 | 64 2c 20 77 68 69 63 68 |orporate|d, which|
|00000840| 20 6d 61 79 20 62 65 20 | 72 65 67 69 73 74 65 72 | may be |register|
|00000850| 65 64 20 69 6e 20 63 65 | 72 74 61 69 6e 20 6a 75 |ed in ce|rtain ju|
|00000860| 72 69 73 64 69 63 74 69 | 6f 6e 73 2e 0d 41 47 46 |risdicti|ons..AGF|
|00000870| 41 20 69 73 20 61 20 74 | 72 61 64 65 6d 61 72 6b |A is a t|rademark|
|00000880| 20 6f 66 20 41 67 66 61 | 2d 47 65 76 61 65 72 74 | of Agfa|-Gevaert|
|00000890| 2e 0d 46 72 61 6d 65 4d | 61 6b 65 72 20 69 73 20 |..FrameM|aker is |
|000008a0| 61 20 72 65 67 69 73 74 | 65 72 65 64 20 74 72 61 |a regist|ered tra|
|000008b0| 64 65 6d 61 72 6b 20 6f | 66 20 46 72 61 6d 65 20 |demark o|f Frame |
|000008c0| 54 65 63 68 6e 6f 6c 6f | 67 79 20 43 6f 72 70 6f |Technolo|gy Corpo|
|000008d0| 72 61 74 69 6f 6e 2e 0d | 48 65 6c 76 65 74 69 63 |ration..|Helvetic|
|000008e0| 61 20 61 6e 64 20 50 61 | 6c 61 74 69 6e 6f 20 61 |a and Pa|latino a|
|000008f0| 72 65 20 72 65 67 69 73 | 74 65 72 65 64 20 74 72 |re regis|tered tr|
|00000900| 61 64 65 6d 61 72 6b 73 | 20 6f 66 20 4c 69 6e 6f |ademarks| of Lino|
|00000910| 74 79 70 65 20 43 6f 6d | 70 61 6e 79 2e 0d 49 54 |type Com|pany..IT|
|00000920| 43 20 5a 61 70 66 20 44 | 69 6e 67 62 61 74 73 20 |C Zapf D|ingbats |
|00000930| 69 73 20 61 20 72 65 67 | 69 73 74 65 72 65 64 20 |is a reg|istered |
|00000940| 74 72 61 64 65 6d 61 72 | 6b 20 6f 66 20 49 6e 74 |trademar|k of Int|
|00000950| 65 72 6e 61 74 69 6f 6e | 61 6c 20 54 79 70 65 66 |ernation|al Typef|
|00000960| 61 63 65 20 43 6f 72 70 | 6f 72 61 74 69 6f 6e 2e |ace Corp|oration.|
|00000970| 0d 53 69 6d 75 6c 74 61 | 6e 65 6f 75 73 6c 79 20 |.Simulta|neously |
|00000980| 70 75 62 6c 69 73 68 65 | 64 20 69 6e 20 74 68 65 |publishe|d in the|
|00000990| 20 55 6e 69 74 65 64 20 | 53 74 61 74 65 73 20 61 | United |States a|
|000009a0| 6e 64 20 43 61 6e 61 64 | 61 2e 0d 4c 49 4d 49 54 |nd Canad|a..LIMIT|
|000009b0| 45 44 20 57 41 52 52 41 | 4e 54 59 20 4f 4e 20 4d |ED WARRA|NTY ON M|
|000009c0| 45 44 49 41 20 41 4e 44 | 20 52 45 50 4c 41 43 45 |EDIA AND| REPLACE|
|000009d0| 4d 45 4e 54 0d 41 4c 4c | 20 49 4d 50 4c 49 45 44 |MENT.ALL| IMPLIED|
|000009e0| 20 57 41 52 52 41 4e 54 | 49 45 53 20 4f 4e 20 54 | WARRANT|IES ON T|
|000009f0| 48 49 53 20 4d 41 4e 55 | 41 4c 2c 20 49 4e 43 4c |HIS MANU|AL, INCL|
|00000a00| 55 44 49 4e 47 20 49 4d | 50 4c 49 45 44 20 57 41 |UDING IM|PLIED WA|
|00000a10| 52 52 41 4e 54 49 45 53 | 20 4f 46 20 4d 45 52 43 |RRANTIES| OF MERC|
|00000a20| 48 41 4e 54 41 42 49 4c | 49 54 59 20 41 4e 44 20 |HANTABIL|ITY AND |
|00000a30| 46 49 54 4e 45 53 53 20 | 46 4f 52 20 41 20 50 41 |FITNESS |FOR A PA|
|00000a40| 52 54 49 43 55 4c 41 52 | 20 50 55 52 50 4f 53 45 |RTICULAR| PURPOSE|
|00000a50| 2c 20 41 52 45 20 4c 49 | 4d 49 54 45 44 20 49 4e |, ARE LI|MITED IN|
|00000a60| 20 44 55 52 41 54 49 4f | 4e 20 54 4f 20 4e 49 4e | DURATIO|N TO NIN|
|00000a70| 45 54 59 20 28 39 30 29 | 20 44 41 59 53 20 46 52 |ETY (90)| DAYS FR|
|00000a80| 4f 4d 20 54 48 45 20 44 | 41 54 45 20 4f 46 20 54 |OM THE D|ATE OF T|
|00000a90| 48 45 20 4f 52 49 47 49 | 4e 41 4c 20 52 45 54 41 |HE ORIGI|NAL RETA|
|00000aa0| 49 4c 20 50 55 52 43 48 | 41 53 45 20 4f 46 20 54 |IL PURCH|ASE OF T|
|00000ab0| 48 49 53 20 50 52 4f 44 | 55 43 54 2e 0d 45 76 65 |HIS PROD|UCT..Eve|
|00000ac0| 6e 20 74 68 6f 75 67 68 | 20 41 70 70 6c 65 20 68 |n though| Apple h|
|00000ad0| 61 73 20 72 65 76 69 65 | 77 65 64 20 74 68 69 73 |as revie|wed this|
|00000ae0| 20 6d 61 6e 75 61 6c 2c | 20 41 50 50 4c 45 20 4d | manual,| APPLE M|
|00000af0| 41 4b 45 53 20 4e 4f 20 | 57 41 52 52 41 4e 54 59 |AKES NO |WARRANTY|
|00000b00| 20 4f 52 20 52 45 50 52 | 45 53 45 4e 54 41 54 49 | OR REPR|ESENTATI|
|00000b10| 4f 4e 2c 20 45 49 54 48 | 45 52 20 45 58 50 52 45 |ON, EITH|ER EXPRE|
|00000b20| 53 53 20 4f 52 20 49 4d | 50 4c 49 45 44 2c 20 57 |SS OR IM|PLIED, W|
|00000b30| 49 54 48 20 52 45 53 50 | 45 43 54 20 54 4f 20 54 |ITH RESP|ECT TO T|
|00000b40| 48 49 53 20 4d 41 4e 55 | 41 4c 2c 20 49 54 53 20 |HIS MANU|AL, ITS |
|00000b50| 51 55 41 4c 49 54 59 2c | 20 41 43 43 55 52 41 43 |QUALITY,| ACCURAC|
|00000b60| 59 2c 20 4d 45 52 43 48 | 41 4e 54 41 42 49 4c 49 |Y, MERCH|ANTABILI|
|00000b70| 54 59 2c 20 4f 52 20 46 | 49 54 4e 45 53 53 20 46 |TY, OR F|ITNESS F|
|00000b80| 4f 52 20 41 20 50 41 52 | 54 49 43 55 4c 41 52 20 |OR A PAR|TICULAR |
|00000b90| 50 55 52 50 4f 53 45 2e | 20 41 53 20 41 20 52 45 |PURPOSE.| AS A RE|
|00000ba0| 53 55 4c 54 2c 20 54 48 | 49 53 20 4d 41 4e 55 41 |SULT, TH|IS MANUA|
|00000bb0| 4c 20 49 53 20 53 4f 4c | 44 20 d2 41 53 20 49 53 |L IS SOL|D .AS IS|
|00000bc0| 2c d3 20 41 4e 44 20 59 | 4f 55 2c 20 54 48 45 20 |,. AND Y|OU, THE |
|00000bd0| 50 55 52 43 48 41 53 45 | 52 2c 20 41 52 45 20 41 |PURCHASE|R, ARE A|
|00000be0| 53 53 55 4d 49 4e 47 20 | 54 48 45 20 45 4e 54 49 |SSUMING |THE ENTI|
|00000bf0| 52 45 20 52 49 53 4b 20 | 41 53 20 54 4f 20 49 54 |RE RISK |AS TO IT|
|00000c00| 53 20 51 55 41 4c 49 54 | 59 20 41 4e 44 20 41 43 |S QUALIT|Y AND AC|
|00000c10| 43 55 52 41 43 59 2e 0d | 49 4e 20 4e 4f 20 45 56 |CURACY..|IN NO EV|
|00000c20| 45 4e 54 20 57 49 4c 4c | 20 41 50 50 4c 45 20 42 |ENT WILL| APPLE B|
|00000c30| 45 20 4c 49 41 42 4c 45 | 20 46 4f 52 20 44 49 52 |E LIABLE| FOR DIR|
|00000c40| 45 43 54 2c 20 49 4e 44 | 49 52 45 43 54 2c 20 53 |ECT, IND|IRECT, S|
|00000c50| 50 45 43 49 41 4c 2c 20 | 49 4e 43 49 44 45 4e 54 |PECIAL, |INCIDENT|
|00000c60| 41 4c 2c 20 4f 52 20 43 | 4f 4e 53 45 51 55 45 4e |AL, OR C|ONSEQUEN|
|00000c70| 54 49 41 4c 20 44 41 4d | 41 47 45 53 20 52 45 53 |TIAL DAM|AGES RES|
|00000c80| 55 4c 54 49 4e 47 20 46 | 52 4f 4d 20 41 4e 59 20 |ULTING F|ROM ANY |
|00000c90| 44 45 46 45 43 54 20 4f | 52 20 49 4e 41 43 43 55 |DEFECT O|R INACCU|
|00000ca0| 52 41 43 59 20 49 4e 20 | 54 48 49 53 20 4d 41 4e |RACY IN |THIS MAN|
|00000cb0| 55 41 4c 2c 20 65 76 65 | 6e 20 69 66 20 61 64 76 |UAL, eve|n if adv|
|00000cc0| 69 73 65 64 20 6f 66 20 | 74 68 65 20 70 6f 73 73 |ised of |the poss|
|00000cd0| 69 62 69 6c 69 74 79 20 | 6f 66 20 73 75 63 68 20 |ibility |of such |
|00000ce0| 64 61 6d 61 67 65 73 2e | 0d 54 48 45 20 57 41 52 |damages.|.THE WAR|
|00000cf0| 52 41 4e 54 59 20 41 4e | 44 20 52 45 4d 45 44 49 |RANTY AN|D REMEDI|
|00000d00| 45 53 20 53 45 54 20 46 | 4f 52 54 48 20 41 42 4f |ES SET F|ORTH ABO|
|00000d10| 56 45 20 41 52 45 20 45 | 58 43 4c 55 53 49 56 45 |VE ARE E|XCLUSIVE|
|00000d20| 20 41 4e 44 20 49 4e 20 | 4c 49 45 55 20 4f 46 20 | AND IN |LIEU OF |
|00000d30| 41 4c 4c 20 4f 54 48 45 | 52 53 2c 20 4f 52 41 4c |ALL OTHE|RS, ORAL|
|00000d40| 20 4f 52 20 57 52 49 54 | 54 45 4e 2c 20 45 58 50 | OR WRIT|TEN, EXP|
|00000d50| 52 45 53 53 20 4f 52 20 | 49 4d 50 4c 49 45 44 2e |RESS OR |IMPLIED.|
|00000d60| 20 4e 6f 20 41 70 70 6c | 65 20 64 65 61 6c 65 72 | No Appl|e dealer|
|00000d70| 2c 20 61 67 65 6e 74 2c | 20 6f 72 20 65 6d 70 6c |, agent,| or empl|
|00000d80| 6f 79 65 65 20 69 73 20 | 61 75 74 68 6f 72 69 7a |oyee is |authoriz|
|00000d90| 65 64 20 74 6f 20 6d 61 | 6b 65 20 61 6e 79 20 6d |ed to ma|ke any m|
|00000da0| 6f 64 69 66 69 63 61 74 | 69 6f 6e 2c 20 65 78 74 |odificat|ion, ext|
|00000db0| 65 6e 73 69 6f 6e 2c 20 | 6f 72 20 61 64 64 69 74 |ension, |or addit|
|00000dc0| 69 6f 6e 20 74 6f 20 74 | 68 69 73 20 77 61 72 72 |ion to t|his warr|
|00000dd0| 61 6e 74 79 2e 0d 53 6f | 6d 65 20 73 74 61 74 65 |anty..So|me state|
|00000de0| 73 20 64 6f 20 6e 6f 74 | 20 61 6c 6c 6f 77 20 74 |s do not| allow t|
|00000df0| 68 65 20 65 78 63 6c 75 | 73 69 6f 6e 20 6f 72 20 |he exclu|sion or |
|00000e00| 6c 69 6d 69 74 61 74 69 | 6f 6e 20 6f 66 20 69 6d |limitati|on of im|
|00000e10| 70 6c 69 65 64 20 77 61 | 72 72 61 6e 74 69 65 73 |plied wa|rranties|
|00000e20| 20 6f 72 20 6c 69 61 62 | 69 6c 69 74 79 20 66 6f | or liab|ility fo|
|00000e30| 72 20 69 6e 63 69 64 65 | 6e 74 61 6c 20 6f 72 20 |r incide|ntal or |
|00000e40| 63 6f 6e 73 65 71 75 65 | 6e 74 69 61 6c 20 64 61 |conseque|ntial da|
|00000e50| 6d 61 67 65 73 2c 20 73 | 6f 20 74 68 65 20 61 62 |mages, s|o the ab|
|00000e60| 6f 76 65 20 6c 69 6d 69 | 74 61 74 69 6f 6e 20 6f |ove limi|tation o|
|00000e70| 72 20 65 78 63 6c 75 73 | 69 6f 6e 20 6d 61 79 20 |r exclus|ion may |
|00000e80| 6e 6f 74 20 61 70 70 6c | 79 20 74 6f 20 79 6f 75 |not appl|y to you|
|00000e90| 2e 20 54 68 69 73 20 77 | 61 72 72 61 6e 74 79 20 |. This w|arranty |
|00000ea0| 67 69 76 65 73 20 79 6f | 75 20 73 70 65 63 69 66 |gives yo|u specif|
|00000eb0| 69 63 20 6c 65 67 61 6c | 20 72 69 67 68 74 73 2c |ic legal| rights,|
|00000ec0| 20 61 6e 64 20 79 6f 75 | 20 6d 61 79 20 61 6c 73 | and you| may als|
|00000ed0| 6f 20 68 61 76 65 20 6f | 74 68 65 72 20 72 69 67 |o have o|ther rig|
|00000ee0| 68 74 73 20 77 68 69 63 | 68 20 76 61 72 79 20 66 |hts whic|h vary f|
|00000ef0| 72 6f 6d 20 73 74 61 74 | 65 20 74 6f 20 73 74 61 |rom stat|e to sta|
|00000f00| 74 65 2e 0d 43 6f 6e 74 | 65 6e 74 73 0d 43 6f 6e |te..Cont|ents.Con|
|00000f10| 74 65 6e 74 73 0d 43 68 | 61 70 74 65 72 20 31 09 |tents.Ch|apter 1.|
|00000f20| 49 6e 74 72 6f 64 75 63 | 74 69 6f 6e 20 74 6f 20 |Introduc|tion to |
|00000f30| 49 6e 74 65 72 61 70 70 | 6c 69 63 61 74 69 6f 6e |Interapp|lication|
|00000f40| 20 43 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 20 31 | Communi|cation 1|
|00000f50| 2d 33 0d 4f 76 65 72 76 | 69 65 77 20 6f 66 20 49 |-3.Overv|iew of I|
|00000f60| 6e 74 65 72 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |nterappl|ication |
|00000f70| 43 6f 6d 6d 75 6e 69 63 | 61 74 69 6f 6e 14 14 31 |Communic|ation..1|
|00000f80| 2d 33 0d 53 68 61 72 69 | 6e 67 20 44 61 74 61 20 |-3.Shari|ng Data |
|00000f90| 41 6d 6f 6e 67 20 41 70 | 70 6c 69 63 61 74 69 6f |Among Ap|plicatio|
|00000fa0| 6e 73 14 14 31 2d 37 0d | 53 65 6e 64 69 6e 67 20 |ns..1-7.|Sending |
|00000fb0| 61 6e 64 20 52 65 73 70 | 6f 6e 64 69 6e 67 20 74 |and Resp|onding t|
|00000fc0| 6f 20 41 70 70 6c 65 20 | 45 76 65 6e 74 73 14 14 |o Apple |Events..|
|00000fd0| 31 2d 39 0d 53 74 61 6e | 64 61 72 64 20 41 70 70 |1-9.Stan|dard App|
|00000fe0| 6c 65 20 45 76 65 6e 74 | 73 14 14 31 2d 31 31 0d |le Event|s..1-11.|
|00000ff0| 48 61 6e 64 6c 69 6e 67 | 20 41 70 70 6c 65 20 45 |Handling| Apple E|
|00001000| 76 65 6e 74 73 14 14 31 | 2d 31 32 0d 53 75 70 70 |vents..1|-12.Supp|
|00001010| 6f 72 74 69 6e 67 20 41 | 70 70 6c 65 53 63 72 69 |orting A|ppleScri|
|00001020| 70 74 20 61 6e 64 20 4f | 74 68 65 72 20 53 63 72 |pt and O|ther Scr|
|00001030| 69 70 74 69 6e 67 20 4c | 61 6e 67 75 61 67 65 73 |ipting L|anguages|
|00001040| 14 14 31 2d 31 33 0d 53 | 63 72 69 70 74 61 62 6c |..1-13.S|criptabl|
|00001050| 65 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 73 14 14 |e Applic|ations..|
|00001060| 31 2d 31 36 0d 52 65 63 | 6f 72 64 61 62 6c 65 20 |1-16.Rec|ordable |
|00001070| 41 70 70 6c 69 63 61 74 | 69 6f 6e 73 14 14 31 2d |Applicat|ions..1-|
|00001080| 31 38 0d 41 70 70 6c 69 | 63 61 74 69 6f 6e 73 20 |18.Appli|cations |
|00001090| 54 68 61 74 20 4d 61 6e | 69 70 75 6c 61 74 65 20 |That Man|ipulate |
|000010a0| 61 6e 64 20 45 78 65 63 | 75 74 65 20 53 63 72 69 |and Exec|ute Scri|
|000010b0| 70 74 73 14 14 31 2d 31 | 39 0d 45 78 63 68 61 6e |pts..1-1|9.Exchan|
|000010c0| 67 69 6e 67 20 4d 65 73 | 73 61 67 65 20 42 6c 6f |ging Mes|sage Blo|
|000010d0| 63 6b 73 14 14 31 2d 32 | 32 0d 43 68 61 70 74 65 |cks..1-2|2.Chapte|
|000010e0| 72 20 32 09 54 68 65 20 | 45 64 69 74 69 6f 6e 20 |r 2.The |Edition |
|000010f0| 4d 61 6e 61 67 65 72 20 | 0d 7b 54 68 69 73 20 63 |Manager |.{This c|
|00001100| 68 61 70 74 65 72 20 69 | 73 20 63 75 72 72 65 6e |hapter i|s curren|
|00001110| 74 6c 79 20 61 76 61 69 | 6c 61 62 6c 65 20 69 6e |tly avai|lable in|
|00001120| 20 49 6e 73 69 64 65 20 | 4d 61 63 69 6e 74 6f 73 | Inside |Macintos|
|00001130| 68 2c 20 56 6f 6c 75 6d | 65 20 56 49 2e 7d 0d 43 |h, Volum|e VI.}.C|
|00001140| 68 61 70 74 65 72 20 33 | 09 49 6e 74 72 6f 64 75 |hapter 3|.Introdu|
|00001150| 63 74 69 6f 6e 20 74 6f | 20 41 70 70 6c 65 20 45 |ction to| Apple E|
|00001160| 76 65 6e 74 73 20 33 2d | 33 0d 41 62 6f 75 74 20 |vents 3-|3.About |
|00001170| 41 70 70 6c 65 20 45 76 | 65 6e 74 73 14 14 33 2d |Apple Ev|ents..3-|
|00001180| 33 0d 41 70 70 6c 65 20 | 45 76 65 6e 74 73 20 61 |3.Apple |Events a|
|00001190| 6e 64 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 4f |nd Apple| Event O|
|000011a0| 62 6a 65 63 74 73 14 14 | 33 2d 36 0d 41 70 70 6c |bjects..|3-6.Appl|
|000011b0| 65 20 45 76 65 6e 74 20 | 41 74 74 72 69 62 75 74 |e Event |Attribut|
|000011c0| 65 73 20 61 6e 64 20 50 | 61 72 61 6d 65 74 65 72 |es and P|arameter|
|000011d0| 73 14 14 33 2d 37 0d 41 | 70 70 6c 65 20 45 76 65 |s..3-7.A|pple Eve|
|000011e0| 6e 74 20 41 74 74 72 69 | 62 75 74 65 73 14 14 33 |nt Attri|butes..3|
|000011f0| 2d 38 0d 41 70 70 6c 65 | 20 45 76 65 6e 74 20 50 |-8.Apple| Event P|
|00001200| 61 72 61 6d 65 74 65 72 | 73 14 14 33 2d 39 0d 49 |arameter|s..3-9.I|
|00001210| 6e 74 65 72 70 72 65 74 | 69 6e 67 20 41 70 70 6c |nterpret|ing Appl|
|00001220| 65 20 45 76 65 6e 74 20 | 41 74 74 72 69 62 75 74 |e Event |Attribut|
|00001230| 65 73 20 61 6e 64 20 50 | 61 72 61 6d 65 74 65 72 |es and P|arameter|
|00001240| 73 14 14 33 2d 31 30 0d | 44 61 74 61 20 53 74 72 |s..3-10.|Data Str|
|00001250| 75 63 74 75 72 65 73 20 | 57 69 74 68 69 6e 20 41 |uctures |Within A|
|00001260| 70 70 6c 65 20 45 76 65 | 6e 74 73 14 14 33 2d 31 |pple Eve|nts..3-1|
|00001270| 33 0d 44 65 73 63 72 69 | 70 74 6f 72 20 52 65 63 |3.Descri|ptor Rec|
|00001280| 6f 72 64 73 14 14 33 2d | 31 33 0d 4b 65 79 77 6f |ords..3-|13.Keywo|
|00001290| 72 64 2d 53 70 65 63 69 | 66 69 65 64 20 44 65 73 |rd-Speci|fied Des|
|000012a0| 63 72 69 70 74 6f 72 20 | 52 65 63 6f 72 64 73 14 |criptor |Records.|
|000012b0| 14 33 2d 31 35 0d 44 65 | 73 63 72 69 70 74 6f 72 |.3-15.De|scriptor|
|000012c0| 20 4c 69 73 74 73 14 14 | 33 2d 31 37 0d 52 65 73 | Lists..|3-17.Res|
|000012d0| 70 6f 6e 64 69 6e 67 20 | 74 6f 20 41 70 70 6c 65 |ponding |to Apple|
|000012e0| 20 45 76 65 6e 74 73 14 | 14 33 2d 32 31 0d 41 63 | Events.|.3-21.Ac|
|000012f0| 63 65 70 74 69 6e 67 20 | 61 6e 64 20 50 72 6f 63 |cepting |and Proc|
|00001300| 65 73 73 69 6e 67 20 41 | 70 70 6c 65 20 45 76 65 |essing A|pple Eve|
|00001310| 6e 74 73 14 14 33 2d 32 | 31 0d 41 62 6f 75 74 20 |nts..3-2|1.About |
|00001320| 41 70 70 6c 65 20 45 76 | 65 6e 74 20 48 61 6e 64 |Apple Ev|ent Hand|
|00001330| 6c 65 72 73 14 14 33 2d | 32 33 0d 45 78 74 72 61 |lers..3-|23.Extra|
|00001340| 63 74 69 6e 67 20 61 6e | 64 20 43 68 65 63 6b 69 |cting an|d Checki|
|00001350| 6e 67 20 44 61 74 61 14 | 14 33 2d 32 34 0d 49 6e |ng Data.|.3-24.In|
|00001360| 74 65 72 61 63 74 69 6e | 67 20 57 69 74 68 20 74 |teractin|g With t|
|00001370| 68 65 20 55 73 65 72 14 | 14 33 2d 32 36 0d 50 65 |he User.|.3-26.Pe|
|00001380| 72 66 6f 72 6d 69 6e 67 | 20 74 68 65 20 52 65 71 |rforming| the Req|
|00001390| 75 65 73 74 65 64 20 41 | 63 74 69 6f 6e 20 61 6e |uested A|ction an|
|000013a0| 64 20 52 65 74 75 72 6e | 69 6e 67 20 61 20 52 65 |d Return|ing a Re|
|000013b0| 73 75 6c 74 14 14 33 2d | 32 36 0d 52 65 71 75 65 |sult..3-|26.Reque|
|000013c0| 73 74 69 6e 67 20 53 65 | 72 76 69 63 65 73 20 54 |sting Se|rvices T|
|000013d0| 68 72 6f 75 67 68 20 41 | 70 70 6c 65 20 45 76 65 |hrough A|pple Eve|
|000013e0| 6e 74 73 14 14 33 2d 32 | 39 0d 43 72 65 61 74 69 |nts..3-2|9.Creati|
|000013f0| 6e 67 20 61 6e 20 41 70 | 70 6c 65 20 45 76 65 6e |ng an Ap|ple Even|
|00001400| 74 20 52 65 63 6f 72 64 | 14 14 33 2d 32 39 0d 41 |t Record|..3-29.A|
|00001410| 64 64 69 6e 67 20 41 70 | 70 6c 65 20 45 76 65 6e |dding Ap|ple Even|
|00001420| 74 20 41 74 74 72 69 62 | 75 74 65 73 20 61 6e 64 |t Attrib|utes and|
|00001430| 20 50 61 72 61 6d 65 74 | 65 72 73 14 14 33 2d 33 | Paramet|ers..3-3|
|00001440| 30 0d 53 65 6e 64 69 6e | 67 20 61 6e 20 41 70 70 |0.Sendin|g an App|
|00001450| 6c 65 20 45 76 65 6e 74 | 20 61 6e 64 20 48 61 6e |le Event| and Han|
|00001460| 64 6c 69 6e 67 20 74 68 | 65 20 52 65 70 6c 79 14 |dling th|e Reply.|
|00001470| 14 33 2d 33 32 0d 57 6f | 72 6b 69 6e 67 20 57 69 |.3-32.Wo|rking Wi|
|00001480| 74 68 20 4f 62 6a 65 63 | 74 20 53 70 65 63 69 66 |th Objec|t Specif|
|00001490| 69 65 72 20 52 65 63 6f | 72 64 73 14 14 33 2d 33 |ier Reco|rds..3-3|
|000014a0| 34 0d 44 61 74 61 20 53 | 74 72 75 63 74 75 72 65 |4.Data S|tructure|
|000014b0| 73 20 57 69 74 68 69 6e | 20 61 6e 20 4f 62 6a 65 |s Within| an Obje|
|000014c0| 63 74 20 53 70 65 63 69 | 66 69 65 72 20 52 65 63 |ct Speci|fier Rec|
|000014d0| 6f 72 64 14 14 33 2d 33 | 35 0d 54 68 65 20 43 6c |ord..3-3|5.The Cl|
|000014e0| 61 73 73 69 66 69 63 61 | 74 69 6f 6e 20 6f 66 20 |assifica|tion of |
|000014f0| 41 70 70 6c 65 20 45 76 | 65 6e 74 20 4f 62 6a 65 |Apple Ev|ent Obje|
|00001500| 63 74 73 14 14 33 2d 34 | 30 0d 4f 62 6a 65 63 74 |cts..3-4|0.Object|
|00001510| 20 43 6c 61 73 73 65 73 | 14 14 33 2d 34 30 0d 50 | Classes|..3-40.P|
|00001520| 72 6f 70 65 72 74 69 65 | 73 20 61 6e 64 20 45 6c |ropertie|s and El|
|00001530| 65 6d 65 6e 74 73 14 14 | 33 2d 34 32 0d 46 69 6e |ements..|3-42.Fin|
|00001540| 64 69 6e 67 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |ding App|le Event|
|00001550| 20 4f 62 6a 65 63 74 73 | 14 14 33 2d 34 37 0d 41 | Objects|..3-47.A|
|00001560| 62 6f 75 74 20 74 68 65 | 20 41 70 70 6c 65 20 45 |bout the| Apple E|
|00001570| 76 65 6e 74 20 4d 61 6e | 61 67 65 72 14 14 33 2d |vent Man|ager..3-|
|00001580| 34 39 0d 53 75 70 70 6f | 72 74 69 6e 67 20 41 70 |49.Suppo|rting Ap|
|00001590| 70 6c 65 20 45 76 65 6e | 74 73 20 61 73 20 61 20 |ple Even|ts as a |
|000015a0| 53 65 72 76 65 72 20 41 | 70 70 6c 69 63 61 74 69 |Server A|pplicati|
|000015b0| 6f 6e 14 14 33 2d 34 39 | 0d 53 75 70 70 6f 72 74 |on..3-49|.Support|
|000015c0| 69 6e 67 20 41 70 70 6c | 65 20 45 76 65 6e 74 73 |ing Appl|e Events|
|000015d0| 20 61 73 20 61 20 43 6c | 69 65 6e 74 20 41 70 70 | as a Cl|ient App|
|000015e0| 6c 69 63 61 74 69 6f 6e | 14 14 33 2d 35 30 0d 53 |lication|..3-50.S|
|000015f0| 75 70 70 6f 72 74 69 6e | 67 20 41 70 70 6c 65 20 |upportin|g Apple |
|00001600| 45 76 65 6e 74 20 4f 62 | 6a 65 63 74 73 14 14 33 |Event Ob|jects..3|
|00001610| 2d 35 30 0d 53 75 70 70 | 6f 72 74 69 6e 67 20 41 |-50.Supp|orting A|
|00001620| 70 70 6c 65 20 45 76 65 | 6e 74 20 52 65 63 6f 72 |pple Eve|nt Recor|
|00001630| 64 69 6e 67 14 14 33 2d | 35 31 0d 43 68 61 70 74 |ding..3-|51.Chapt|
|00001640| 65 72 20 34 09 52 65 73 | 70 6f 6e 64 69 6e 67 20 |er 4.Res|ponding |
|00001650| 74 6f 20 41 70 70 6c 65 | 20 45 76 65 6e 74 73 20 |to Apple| Events |
|00001660| 34 2d 33 0d 48 61 6e 64 | 6c 69 6e 67 20 41 70 70 |4-3.Hand|ling App|
|00001670| 6c 65 20 45 76 65 6e 74 | 73 14 14 34 2d 34 0d 41 |le Event|s..4-4.A|
|00001680| 63 63 65 70 74 69 6e 67 | 20 61 6e 20 41 70 70 6c |ccepting| an Appl|
|00001690| 65 20 45 76 65 6e 74 14 | 14 34 2d 35 0d 49 6e 73 |e Event.|.4-5.Ins|
|000016a0| 74 61 6c 6c 69 6e 67 20 | 45 6e 74 72 69 65 73 20 |talling |Entries |
|000016b0| 69 6e 20 74 68 65 20 41 | 70 70 6c 65 20 45 76 65 |in the A|pple Eve|
|000016c0| 6e 74 20 44 69 73 70 61 | 74 63 68 20 54 61 62 6c |nt Dispa|tch Tabl|
|000016d0| 65 73 14 14 34 2d 37 0d | 49 6e 73 74 61 6c 6c 69 |es..4-7.|Installi|
|000016e0| 6e 67 20 45 6e 74 72 69 | 65 73 20 66 6f 72 20 74 |ng Entri|es for t|
|000016f0| 68 65 20 52 65 71 75 69 | 72 65 64 20 41 70 70 6c |he Requi|red Appl|
|00001700| 65 20 45 76 65 6e 74 73 | 14 14 34 2d 38 0d 49 6e |e Events|..4-8.In|
|00001710| 73 74 61 6c 6c 69 6e 67 | 20 45 6e 74 72 69 65 73 |stalling| Entries|
|00001720| 20 66 6f 72 20 41 70 70 | 6c 65 20 45 76 65 6e 74 | for App|le Event|
|00001730| 73 20 53 65 6e 74 20 62 | 79 20 74 68 65 20 45 64 |s Sent b|y the Ed|
|00001740| 69 74 69 6f 6e 20 4d 61 | 6e 61 67 65 72 14 14 34 |ition Ma|nager..4|
|00001750| 2d 39 0d 48 6f 77 20 41 | 70 70 6c 65 20 45 76 65 |-9.How A|pple Eve|
|00001760| 6e 74 20 44 69 73 70 61 | 74 63 68 69 6e 67 20 57 |nt Dispa|tching W|
|00001770| 6f 72 6b 73 14 14 34 2d | 31 30 0d 48 61 6e 64 6c |orks..4-|10.Handl|
|00001780| 69 6e 67 20 74 68 65 20 | 52 65 71 75 69 72 65 64 |ing the |Required|
|00001790| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 73 14 14 34 | Apple E|vents..4|
|000017a0| 2d 31 31 0d 52 65 71 75 | 69 72 65 64 20 41 70 70 |-11.Requ|ired App|
|000017b0| 6c 65 20 45 76 65 6e 74 | 73 14 14 34 2d 31 31 0d |le Event|s..4-11.|
|000017c0| 48 61 6e 64 6c 69 6e 67 | 20 74 68 65 20 4f 70 65 |Handling| the Ope|
|000017d0| 6e 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 20 45 76 |n Applic|ation Ev|
|000017e0| 65 6e 74 14 14 34 2d 31 | 34 0d 48 61 6e 64 6c 69 |ent..4-1|4.Handli|
|000017f0| 6e 67 20 74 68 65 20 4f | 70 65 6e 20 44 6f 63 75 |ng the O|pen Docu|
|00001800| 6d 65 6e 74 73 20 45 76 | 65 6e 74 14 14 34 2d 31 |ments Ev|ent..4-1|
|00001810| 35 0d 48 61 6e 64 6c 69 | 6e 67 20 74 68 65 20 50 |5.Handli|ng the P|
|00001820| 72 69 6e 74 20 44 6f 63 | 75 6d 65 6e 74 73 20 45 |rint Doc|uments E|
|00001830| 76 65 6e 74 14 14 34 2d | 31 37 0d 48 61 6e 64 6c |vent..4-|17.Handl|
|00001840| 69 6e 67 20 74 68 65 20 | 51 75 69 74 20 41 70 70 |ing the |Quit App|
|00001850| 6c 69 63 61 74 69 6f 6e | 20 45 76 65 6e 74 14 14 |lication| Event..|
|00001860| 34 2d 31 39 0d 48 61 6e | 64 6c 69 6e 67 20 41 70 |4-19.Han|dling Ap|
|00001870| 70 6c 65 20 45 76 65 6e | 74 73 20 53 65 6e 74 20 |ple Even|ts Sent |
|00001880| 62 79 20 74 68 65 20 45 | 64 69 74 69 6f 6e 20 4d |by the E|dition M|
|00001890| 61 6e 61 67 65 72 14 14 | 34 2d 32 30 0d 48 61 6e |anager..|4-20.Han|
|000018a0| 64 6c 69 6e 67 20 74 68 | 65 20 43 72 65 61 74 65 |dling th|e Create|
|000018b0| 20 50 75 62 6c 69 73 68 | 65 72 20 45 76 65 6e 74 | Publish|er Event|
|000018c0| 14 14 34 2d 32 32 0d 47 | 65 74 74 69 6e 67 20 44 |..4-22.G|etting D|
|000018d0| 61 74 61 20 4f 75 74 20 | 6f 66 20 61 6e 20 41 70 |ata Out |of an Ap|
|000018e0| 70 6c 65 20 45 76 65 6e | 74 14 14 34 2d 32 35 0d |ple Even|t..4-25.|
|000018f0| 47 65 74 74 69 6e 67 20 | 44 61 74 61 20 4f 75 74 |Getting |Data Out|
|00001900| 20 6f 66 20 61 6e 20 41 | 70 70 6c 65 20 45 76 65 | of an A|pple Eve|
|00001910| 6e 74 20 50 61 72 61 6d | 65 74 65 72 14 14 34 2d |nt Param|eter..4-|
|00001920| 32 37 0d 47 65 74 74 69 | 6e 67 20 44 61 74 61 20 |27.Getti|ng Data |
|00001930| 4f 75 74 20 6f 66 20 61 | 6e 20 41 74 74 72 69 62 |Out of a|n Attrib|
|00001940| 75 74 65 14 14 34 2d 32 | 39 0d 47 65 74 74 69 6e |ute..4-2|9.Gettin|
|00001950| 67 20 44 61 74 61 20 4f | 75 74 20 6f 66 20 61 20 |g Data O|ut of a |
|00001960| 44 65 73 63 72 69 70 74 | 6f 72 20 4c 69 73 74 14 |Descript|or List.|
|00001970| 14 34 2d 33 32 0d 57 72 | 69 74 69 6e 67 20 41 70 |.4-32.Wr|iting Ap|
|00001980| 70 6c 65 20 45 76 65 6e | 74 20 48 61 6e 64 6c 65 |ple Even|t Handle|
|00001990| 72 73 14 14 34 2d 33 34 | 0d 52 65 70 6c 79 69 6e |rs..4-34|.Replyin|
|000019a0| 67 20 74 6f 20 61 6e 20 | 41 70 70 6c 65 20 45 76 |g to an |Apple Ev|
|000019b0| 65 6e 74 14 14 34 2d 33 | 37 0d 44 69 73 70 6f 73 |ent..4-3|7.Dispos|
|000019c0| 69 6e 67 20 6f 66 20 41 | 70 70 6c 65 20 45 76 65 |ing of A|pple Eve|
|000019d0| 6e 74 20 44 61 74 61 20 | 53 74 72 75 63 74 75 72 |nt Data |Structur|
|000019e0| 65 73 14 14 34 2d 34 30 | 0d 57 72 69 74 69 6e 67 |es..4-40|.Writing|
|000019f0| 20 61 6e 64 20 49 6e 73 | 74 61 6c 6c 69 6e 67 20 | and Ins|talling |
|00001a00| 43 6f 65 72 63 69 6f 6e | 20 48 61 6e 64 6c 65 72 |Coercion| Handler|
|00001a10| 73 14 14 34 2d 34 32 0d | 49 6e 74 65 72 61 63 74 |s..4-42.|Interact|
|00001a20| 69 6e 67 20 57 69 74 68 | 20 74 68 65 20 55 73 65 |ing With| the Use|
|00001a30| 72 14 14 34 2d 34 35 0d | 53 65 74 74 69 6e 67 20 |r..4-45.|Setting |
|00001a40| 74 68 65 20 43 6c 69 65 | 6e 74 20 41 70 70 6c 69 |the Clie|nt Appli|
|00001a50| 63 61 74 69 6f 6e d5 73 | 20 55 73 65 72 20 49 6e |cation.s| User In|
|00001a60| 74 65 72 61 63 74 69 6f | 6e 20 50 72 65 66 65 72 |teractio|n Prefer|
|00001a70| 65 6e 63 65 73 14 14 34 | 2d 34 36 0d 53 65 74 74 |ences..4|-46.Sett|
|00001a80| 69 6e 67 20 74 68 65 20 | 53 65 72 76 65 72 20 41 |ing the |Server A|
|00001a90| 70 70 6c 69 63 61 74 69 | 6f 6e d5 73 20 55 73 65 |pplicati|on.s Use|
|00001aa0| 72 20 49 6e 74 65 72 61 | 63 74 69 6f 6e 20 50 72 |r Intera|ction Pr|
|00001ab0| 65 66 65 72 65 6e 63 65 | 73 14 14 34 2d 34 38 0d |eference|s..4-48.|
|00001ac0| 52 65 71 75 65 73 74 69 | 6e 67 20 55 73 65 72 20 |Requesti|ng User |
|00001ad0| 49 6e 74 65 72 61 63 74 | 69 6f 6e 14 14 34 2d 34 |Interact|ion..4-4|
|00001ae0| 39 0d 52 65 66 65 72 65 | 6e 63 65 20 74 6f 20 52 |9.Refere|nce to R|
|00001af0| 65 73 70 6f 6e 64 69 6e | 67 20 74 6f 20 41 70 70 |espondin|g to App|
|00001b00| 6c 65 20 45 76 65 6e 74 | 73 14 14 34 2d 35 36 0d |le Event|s..4-56.|
|00001b10| 44 61 74 61 20 53 74 72 | 75 63 74 75 72 65 73 20 |Data Str|uctures |
|00001b20| 55 73 65 64 20 62 79 20 | 74 68 65 20 41 70 70 6c |Used by |the Appl|
|00001b30| 65 20 45 76 65 6e 74 20 | 4d 61 6e 61 67 65 72 14 |e Event |Manager.|
|00001b40| 14 34 2d 35 36 0d 44 65 | 73 63 72 69 70 74 6f 72 |.4-56.De|scriptor|
|00001b50| 20 52 65 63 6f 72 64 73 | 20 61 6e 64 20 52 65 6c | Records| and Rel|
|00001b60| 61 74 65 64 20 44 61 74 | 61 20 53 74 72 75 63 74 |ated Dat|a Struct|
|00001b70| 75 72 65 73 14 14 34 2d | 35 36 0d 41 70 70 6c 65 |ures..4-|56.Apple|
|00001b80| 20 45 76 65 6e 74 20 41 | 72 72 61 79 20 44 61 74 | Event A|rray Dat|
|00001b90| 61 20 54 79 70 65 73 14 | 14 34 2d 35 39 0d 52 6f |a Types.|.4-59.Ro|
|00001ba0| 75 74 69 6e 65 73 20 66 | 6f 72 20 52 65 73 70 6f |utines f|or Respo|
|00001bb0| 6e 64 69 6e 67 20 74 6f | 20 41 70 70 6c 65 20 45 |nding to| Apple E|
|00001bc0| 76 65 6e 74 73 14 14 34 | 2d 36 31 0d 43 72 65 61 |vents..4|-61.Crea|
|00001bd0| 74 69 6e 67 20 61 6e 64 | 20 4d 61 6e 61 67 69 6e |ting and| Managin|
|00001be0| 67 20 74 68 65 20 41 70 | 70 6c 65 20 45 76 65 6e |g the Ap|ple Even|
|00001bf0| 74 20 44 69 73 70 61 74 | 63 68 20 54 61 62 6c 65 |t Dispat|ch Table|
|00001c00| 73 14 14 34 2d 36 31 0d | 44 69 73 70 61 74 63 68 |s..4-61.|Dispatch|
|00001c10| 69 6e 67 20 41 70 70 6c | 65 20 45 76 65 6e 74 73 |ing Appl|e Events|
|00001c20| 14 14 34 2d 36 36 0d 47 | 65 74 74 69 6e 67 20 44 |..4-66.G|etting D|
|00001c30| 61 74 61 20 6f 72 20 44 | 65 73 63 72 69 70 74 6f |ata or D|escripto|
|00001c40| 72 20 52 65 63 6f 72 64 | 73 20 66 72 6f 6d 20 41 |r Record|s from A|
|00001c50| 70 70 6c 65 20 45 76 65 | 6e 74 20 50 61 72 61 6d |pple Eve|nt Param|
|00001c60| 65 74 65 72 73 20 61 6e | 64 20 41 74 74 72 69 62 |eters an|d Attrib|
|00001c70| 75 74 65 73 14 14 34 2d | 36 37 0d 43 6f 75 6e 74 |utes..4-|67.Count|
|00001c80| 69 6e 67 20 74 68 65 20 | 49 74 65 6d 73 20 69 6e |ing the |Items in|
|00001c90| 20 44 65 73 63 72 69 70 | 74 6f 72 20 4c 69 73 74 | Descrip|tor List|
|00001ca0| 73 14 14 34 2d 37 33 0d | 47 65 74 74 69 6e 67 20 |s..4-73.|Getting |
|00001cb0| 49 74 65 6d 73 20 46 72 | 6f 6d 20 44 65 73 63 72 |Items Fr|om Descr|
|00001cc0| 69 70 74 6f 72 20 4c 69 | 73 74 73 14 14 34 2d 37 |iptor Li|sts..4-7|
|00001cd0| 33 0d 47 65 74 74 69 6e | 67 20 44 61 74 61 20 61 |3.Gettin|g Data a|
|00001ce0| 6e 64 20 44 65 73 63 72 | 69 70 74 6f 72 20 52 65 |nd Descr|iptor Re|
|00001cf0| 63 6f 72 64 73 20 46 72 | 6f 6d 20 41 45 20 52 65 |cords Fr|om AE Re|
|00001d00| 63 6f 72 64 73 14 14 34 | 2d 37 37 0d 52 65 71 75 |cords..4|-77.Requ|
|00001d10| 65 73 74 69 6e 67 20 55 | 73 65 72 20 49 6e 74 65 |esting U|ser Inte|
|00001d20| 72 61 63 74 69 6f 6e 14 | 14 34 2d 37 39 0d 52 65 |raction.|.4-79.Re|
|00001d30| 71 75 65 73 74 69 6e 67 | 20 4d 6f 72 65 20 54 69 |questing| More Ti|
|00001d40| 6d 65 20 74 6f 20 52 65 | 73 70 6f 6e 64 20 74 6f |me to Re|spond to|
|00001d50| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 73 14 14 34 | Apple E|vents..4|
|00001d60| 2d 38 32 0d 53 75 73 70 | 65 6e 64 69 6e 67 20 61 |-82.Susp|ending a|
|00001d70| 6e 64 20 52 65 73 75 6d | 69 6e 67 20 41 70 70 6c |nd Resum|ing Appl|
|00001d80| 65 20 45 76 65 6e 74 20 | 48 61 6e 64 6c 69 6e 67 |e Event |Handling|
|00001d90| 14 14 34 2d 38 33 0d 47 | 65 74 74 69 6e 67 20 74 |..4-83.G|etting t|
|00001da0| 68 65 20 53 69 7a 65 73 | 20 61 6e 64 20 44 65 73 |he Sizes| and Des|
|00001db0| 63 72 69 70 74 6f 72 20 | 54 79 70 65 73 20 6f 66 |criptor |Types of|
|00001dc0| 20 44 65 73 63 72 69 70 | 74 6f 72 20 52 65 63 6f | Descrip|tor Reco|
|00001dd0| 72 64 73 14 14 34 2d 38 | 37 0d 44 65 6c 65 74 69 |rds..4-8|7.Deleti|
|00001de0| 6e 67 20 44 65 73 63 72 | 69 70 74 6f 72 20 52 65 |ng Descr|iptor Re|
|00001df0| 63 6f 72 64 73 14 14 34 | 2d 39 30 0d 44 65 61 6c |cords..4|-90.Deal|
|00001e00| 6c 6f 63 61 74 69 6e 67 | 20 4d 65 6d 6f 72 79 20 |locating| Memory |
|00001e10| 66 6f 72 20 44 65 73 63 | 72 69 70 74 6f 72 20 52 |for Desc|riptor R|
|00001e20| 65 63 6f 72 64 73 14 14 | 34 2d 39 31 0d 43 6f 65 |ecords..|4-91.Coe|
|00001e30| 72 63 69 6e 67 20 44 65 | 73 63 72 69 70 74 6f 72 |rcing De|scriptor|
|00001e40| 20 54 79 70 65 73 14 14 | 34 2d 39 32 0d 43 72 65 | Types..|4-92.Cre|
|00001e50| 61 74 69 6e 67 20 61 6e | 64 20 4d 61 6e 61 67 69 |ating an|d Managi|
|00001e60| 6e 67 20 74 68 65 20 43 | 6f 65 72 63 69 6f 6e 20 |ng the C|oercion |
|00001e70| 48 61 6e 64 6c 65 72 20 | 44 69 73 70 61 74 63 68 |Handler |Dispatch|
|00001e80| 20 54 61 62 6c 65 73 14 | 14 34 2d 39 34 0d 43 72 | Tables.|.4-94.Cr|
|00001e90| 65 61 74 69 6e 67 20 61 | 6e 64 20 4d 61 6e 61 67 |eating a|nd Manag|
|00001ea0| 69 6e 67 20 74 68 65 20 | 53 70 65 63 69 61 6c 20 |ing the |Special |
|00001eb0| 48 61 6e 64 6c 65 72 20 | 44 69 73 70 61 74 63 68 |Handler |Dispatch|
|00001ec0| 20 54 61 62 6c 65 73 14 | 14 34 2d 39 37 0d 47 65 | Tables.|.4-97.Ge|
|00001ed0| 74 74 69 6e 67 20 49 6e | 66 6f 72 6d 61 74 69 6f |tting In|formatio|
|00001ee0| 6e 20 41 62 6f 75 74 20 | 74 68 65 20 41 70 70 6c |n About |the Appl|
|00001ef0| 65 20 45 76 65 6e 74 20 | 4d 61 6e 61 67 65 72 14 |e Event |Manager.|
|00001f00| 14 34 2d 31 30 30 0d 41 | 70 70 6c 69 63 61 74 69 |.4-100.A|pplicati|
|00001f10| 6f 6e 2d 44 65 66 69 6e | 65 64 20 46 75 6e 63 74 |on-Defin|ed Funct|
|00001f20| 69 6f 6e 73 14 14 34 2d | 31 30 31 0d 53 75 6d 6d |ions..4-|101.Summ|
|00001f30| 61 72 79 20 6f 66 20 52 | 65 73 70 6f 6e 64 69 6e |ary of R|espondin|
|00001f40| 67 20 74 6f 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |g to App|le Event|
|00001f50| 73 14 14 34 2d 31 30 34 | 0d 43 68 61 70 74 65 72 |s..4-104|.Chapter|
|00001f60| 20 35 09 43 72 65 61 74 | 69 6e 67 20 61 6e 64 20 | 5.Creat|ing and |
|00001f70| 53 65 6e 64 69 6e 67 20 | 41 70 70 6c 65 20 45 76 |Sending |Apple Ev|
|00001f80| 65 6e 74 73 20 35 2d 33 | 0d 43 72 65 61 74 69 6e |ents 5-3|.Creatin|
|00001f90| 67 20 61 6e 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |g an App|le Event|
|00001fa0| 14 14 35 2d 33 0d 41 64 | 64 69 6e 67 20 50 61 72 |..5-3.Ad|ding Par|
|00001fb0| 61 6d 65 74 65 72 73 20 | 74 6f 20 61 6e 20 41 70 |ameters |to an Ap|
|00001fc0| 70 6c 65 20 45 76 65 6e | 74 14 14 35 2d 34 0d 53 |ple Even|t..5-4.S|
|00001fd0| 70 65 63 69 66 79 69 6e | 67 20 4f 70 74 69 6f 6e |pecifyin|g Option|
|00001fe0| 61 6c 20 50 61 72 61 6d | 65 74 65 72 73 20 66 6f |al Param|eters fo|
|00001ff0| 72 20 61 6e 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |r an App|le Event|
|00002000| 14 14 35 2d 36 0d 53 70 | 65 63 69 66 79 69 6e 67 |..5-6.Sp|ecifying|
|00002010| 20 61 20 54 61 72 67 65 | 74 20 41 64 64 72 65 73 | a Targe|t Addres|
|00002020| 73 14 14 35 2d 39 0d 43 | 72 65 61 74 69 6e 67 20 |s..5-9.C|reating |
|00002030| 61 6e 20 41 64 64 72 65 | 73 73 20 44 65 73 63 72 |an Addre|ss Descr|
|00002040| 69 70 74 6f 72 20 52 65 | 63 6f 72 64 14 14 35 2d |iptor Re|cord..5-|
|00002050| 31 30 0d 41 64 64 72 65 | 73 73 69 6e 67 20 61 6e |10.Addre|ssing an|
|00002060| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 20 66 6f 72 | Apple E|vent for|
|00002070| 20 44 69 72 65 63 74 20 | 44 69 73 70 61 74 63 68 | Direct |Dispatch|
|00002080| 69 6e 67 14 14 35 2d 31 | 31 0d 53 65 6e 64 69 6e |ing..5-1|1.Sendin|
|00002090| 67 20 61 6e 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |g an App|le Event|
|000020a0| 14 14 35 2d 31 32 0d 44 | 65 61 6c 69 6e 67 20 57 |..5-12.D|ealing W|
|000020b0| 69 74 68 20 54 69 6d 65 | 6f 75 74 73 14 14 35 2d |ith Time|outs..5-|
|000020c0| 31 39 0d 57 72 69 74 69 | 6e 67 20 61 6e 20 49 64 |19.Writi|ng an Id|
|000020d0| 6c 65 20 46 75 6e 63 74 | 69 6f 6e 14 14 35 2d 32 |le Funct|ion..5-2|
|000020e0| 30 0d 57 72 69 74 69 6e | 67 20 61 20 52 65 70 6c |0.Writin|g a Repl|
|000020f0| 79 20 46 69 6c 74 65 72 | 20 46 75 6e 63 74 69 6f |y Filter| Functio|
|00002100| 6e 14 14 35 2d 32 32 0d | 52 65 66 65 72 65 6e 63 |n..5-22.|Referenc|
|00002110| 65 20 74 6f 20 43 72 65 | 61 74 69 6e 67 20 61 6e |e to Cre|ating an|
|00002120| 64 20 53 65 6e 64 69 6e | 67 20 41 70 70 6c 65 20 |d Sendin|g Apple |
|00002130| 45 76 65 6e 74 73 14 14 | 35 2d 32 33 0d 52 6f 75 |Events..|5-23.Rou|
|00002140| 74 69 6e 65 73 20 66 6f | 72 20 43 72 65 61 74 69 |tines fo|r Creati|
|00002150| 6e 67 20 61 6e 64 20 53 | 65 6e 64 69 6e 67 20 41 |ng and S|ending A|
|00002160| 70 70 6c 65 20 45 76 65 | 6e 74 73 14 14 35 2d 32 |pple Eve|nts..5-2|
|00002170| 33 0d 43 72 65 61 74 69 | 6e 67 20 41 70 70 6c 65 |3.Creati|ng Apple|
|00002180| 20 45 76 65 6e 74 73 14 | 14 35 2d 32 33 0d 43 72 | Events.|.5-23.Cr|
|00002190| 65 61 74 69 6e 67 20 61 | 6e 64 20 44 75 70 6c 69 |eating a|nd Dupli|
|000021a0| 63 61 74 69 6e 67 20 44 | 65 73 63 72 69 70 74 6f |cating D|escripto|
|000021b0| 72 20 52 65 63 6f 72 64 | 73 14 14 35 2d 32 35 0d |r Record|s..5-25.|
|000021c0| 43 72 65 61 74 69 6e 67 | 20 44 65 73 63 72 69 70 |Creating| Descrip|
|000021d0| 74 6f 72 20 4c 69 73 74 | 73 20 61 6e 64 20 41 45 |tor List|s and AE|
|000021e0| 20 52 65 63 6f 72 64 73 | 14 14 35 2d 32 36 0d 41 | Records|..5-26.A|
|000021f0| 64 64 69 6e 67 20 49 74 | 65 6d 73 20 74 6f 20 44 |dding It|ems to D|
|00002200| 65 73 63 72 69 70 74 6f | 72 20 4c 69 73 74 73 14 |escripto|r Lists.|
|00002210| 14 35 2d 32 37 0d 41 64 | 64 69 6e 67 20 44 61 74 |.5-27.Ad|ding Dat|
|00002220| 61 20 61 6e 64 20 44 65 | 73 63 72 69 70 74 6f 72 |a and De|scriptor|
|00002230| 20 52 65 63 6f 72 64 73 | 20 74 6f 20 41 45 20 52 | Records| to AE R|
|00002240| 65 63 6f 72 64 73 14 14 | 35 2d 33 30 0d 41 64 64 |ecords..|5-30.Add|
|00002250| 69 6e 67 20 50 61 72 61 | 6d 65 74 65 72 73 20 61 |ing Para|meters a|
|00002260| 6e 64 20 41 74 74 72 69 | 62 75 74 65 73 20 74 6f |nd Attri|butes to|
|00002270| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 73 14 14 35 | Apple E|vents..5|
|00002280| 2d 33 31 0d 53 65 6e 64 | 69 6e 67 20 41 70 70 6c |-31.Send|ing Appl|
|00002290| 65 20 45 76 65 6e 74 73 | 14 14 35 2d 33 35 0d 41 |e Events|..5-35.A|
|000022a0| 70 70 6c 69 63 61 74 69 | 6f 6e 2d 44 65 66 69 6e |pplicati|on-Defin|
|000022b0| 65 64 20 46 75 6e 63 74 | 69 6f 6e 73 14 14 35 2d |ed Funct|ions..5-|
|000022c0| 33 39 0d 53 75 6d 6d 61 | 72 79 20 6f 66 20 43 72 |39.Summa|ry of Cr|
|000022d0| 65 61 74 69 6e 67 20 61 | 6e 64 20 53 65 6e 64 69 |eating a|nd Sendi|
|000022e0| 6e 67 20 41 70 70 6c 65 | 20 45 76 65 6e 74 73 14 |ng Apple| Events.|
|000022f0| 14 35 2d 34 31 0d 43 68 | 61 70 74 65 72 20 36 09 |.5-41.Ch|apter 6.|
|00002300| 52 65 73 6f 6c 76 69 6e | 67 20 61 6e 64 20 43 72 |Resolvin|g and Cr|
|00002310| 65 61 74 69 6e 67 20 4f | 62 6a 65 63 74 20 53 70 |eating O|bject Sp|
|00002320| 65 63 69 66 69 65 72 20 | 52 65 63 6f 72 64 73 20 |ecifier |Records |
|00002330| 36 2d 33 0d 52 65 73 6f | 6c 76 69 6e 67 20 4f 62 |6-3.Reso|lving Ob|
|00002340| 6a 65 63 74 20 53 70 65 | 63 69 66 69 65 72 20 52 |ject Spe|cifier R|
|00002350| 65 63 6f 72 64 73 14 14 | 36 2d 34 0d 44 65 73 63 |ecords..|6-4.Desc|
|00002360| 72 69 70 74 6f 72 20 52 | 65 63 6f 72 64 73 20 55 |riptor R|ecords U|
|00002370| 73 65 64 20 69 6e 20 4f | 62 6a 65 63 74 20 53 70 |sed in O|bject Sp|
|00002380| 65 63 69 66 69 65 72 20 | 52 65 63 6f 72 64 73 14 |ecifier |Records.|
|00002390| 14 36 2d 38 0d 4f 62 6a | 65 63 74 20 43 6c 61 73 |.6-8.Obj|ect Clas|
|000023a0| 73 14 14 36 2d 38 0d 43 | 6f 6e 74 61 69 6e 65 72 |s..6-8.C|ontainer|
|000023b0| 14 14 36 2d 39 0d 4b 65 | 79 20 46 6f 72 6d 14 14 |..6-9.Ke|y Form..|
|000023c0| 36 2d 31 31 0d 4b 65 79 | 20 44 61 74 61 14 14 36 |6-11.Key| Data..6|
|000023d0| 2d 31 32 0d 4b 65 79 20 | 44 61 74 61 20 66 6f 72 |-12.Key |Data for|
|000023e0| 20 61 20 50 72 6f 70 65 | 72 74 79 20 49 44 14 14 | a Prope|rty ID..|
|000023f0| 36 2d 31 33 0d 4b 65 79 | 20 44 61 74 61 20 66 6f |6-13.Key| Data fo|
|00002400| 72 20 61 6e 20 4f 62 6a | 65 63 74 d5 73 20 4e 61 |r an Obj|ect.s Na|
|00002410| 6d 65 14 14 36 2d 31 33 | 0d 4b 65 79 20 44 61 74 |me..6-13|.Key Dat|
|00002420| 61 20 66 6f 72 20 41 62 | 73 6f 6c 75 74 65 20 50 |a for Ab|solute P|
|00002430| 6f 73 69 74 69 6f 6e 14 | 14 36 2d 31 33 0d 4b 65 |osition.|.6-13.Ke|
|00002440| 79 20 44 61 74 61 20 66 | 6f 72 20 52 65 6c 61 74 |y Data f|or Relat|
|00002450| 69 76 65 20 50 6f 73 69 | 74 69 6f 6e 14 14 36 2d |ive Posi|tion..6-|
|00002460| 31 34 0d 4b 65 79 20 44 | 61 74 61 20 66 6f 72 20 |14.Key D|ata for |
|00002470| 61 20 54 65 73 74 14 14 | 36 2d 31 34 0d 4b 65 79 |a Test..|6-14.Key|
|00002480| 20 44 61 74 61 20 66 6f | 72 20 61 20 52 61 6e 67 | Data fo|r a Rang|
|00002490| 65 14 14 36 2d 31 39 0d | 49 6e 73 74 61 6c 6c 69 |e..6-19.|Installi|
|000024a0| 6e 67 20 45 6e 74 72 69 | 65 73 20 69 6e 20 74 68 |ng Entri|es in th|
|000024b0| 65 20 4f 62 6a 65 63 74 | 20 41 63 63 65 73 73 6f |e Object| Accesso|
|000024c0| 72 20 44 69 73 70 61 74 | 63 68 20 54 61 62 6c 65 |r Dispat|ch Table|
|000024d0| 73 14 14 36 2d 32 30 0d | 49 6e 73 74 61 6c 6c 69 |s..6-20.|Installi|
|000024e0| 6e 67 20 4f 62 6a 65 63 | 74 20 41 63 63 65 73 73 |ng Objec|t Access|
|000024f0| 6f 72 20 46 75 6e 63 74 | 69 6f 6e 73 20 54 68 61 |or Funct|ions Tha|
|00002500| 74 20 46 69 6e 64 20 41 | 70 70 6c 65 20 45 76 65 |t Find A|pple Eve|
|00002510| 6e 74 20 4f 62 6a 65 63 | 74 73 14 14 36 2d 32 32 |nt Objec|ts..6-22|
|00002520| 0d 49 6e 73 74 61 6c 6c | 69 6e 67 20 4f 62 6a 65 |.Install|ing Obje|
|00002530| 63 74 20 41 63 63 65 73 | 73 6f 72 20 46 75 6e 63 |ct Acces|sor Func|
|00002540| 74 69 6f 6e 73 20 54 68 | 61 74 20 46 69 6e 64 20 |tions Th|at Find |
|00002550| 50 72 6f 70 65 72 74 69 | 65 73 14 14 36 2d 32 35 |Properti|es..6-25|
|00002560| 0d 57 72 69 74 69 6e 67 | 20 4f 62 6a 65 63 74 20 |.Writing| Object |
|00002570| 41 63 63 65 73 73 6f 72 | 20 46 75 6e 63 74 69 6f |Accessor| Functio|
|00002580| 6e 73 14 14 36 2d 32 36 | 0d 57 72 69 74 69 6e 67 |ns..6-26|.Writing|
|00002590| 20 4f 62 6a 65 63 74 20 | 41 63 63 65 73 73 6f 72 | Object |Accessor|
|000025a0| 20 46 75 6e 63 74 69 6f | 6e 73 20 54 68 61 74 20 | Functio|ns That |
|000025b0| 46 69 6e 64 20 41 70 70 | 6c 65 20 45 76 65 6e 74 |Find App|le Event|
|000025c0| 20 4f 62 6a 65 63 74 73 | 14 14 36 2d 32 38 0d 57 | Objects|..6-28.W|
|000025d0| 72 69 74 69 6e 67 20 4f | 62 6a 65 63 74 20 41 63 |riting O|bject Ac|
|000025e0| 63 65 73 73 6f 72 20 46 | 75 6e 63 74 69 6f 6e 73 |cessor F|unctions|
|000025f0| 20 54 68 61 74 20 46 69 | 6e 64 20 50 72 6f 70 65 | That Fi|nd Prope|
|00002600| 72 74 69 65 73 14 14 36 | 2d 33 36 0d 44 65 66 69 |rties..6|-36.Defi|
|00002610| 6e 69 6e 67 20 54 6f 6b | 65 6e 73 14 14 36 2d 33 |ning Tok|ens..6-3|
|00002620| 38 0d 48 61 6e 64 6c 69 | 6e 67 20 57 68 6f 73 65 |8.Handli|ng Whose|
|00002630| 20 54 65 73 74 73 14 14 | 36 2d 34 30 0d 57 72 69 | Tests..|6-40.Wri|
|00002640| 74 69 6e 67 20 4f 62 6a | 65 63 74 20 43 61 6c 6c |ting Obj|ect Call|
|00002650| 62 61 63 6b 20 46 75 6e | 63 74 69 6f 6e 73 14 14 |back Fun|ctions..|
|00002660| 36 2d 34 33 0d 57 72 69 | 74 69 6e 67 20 61 6e 20 |6-43.Wri|ting an |
|00002670| 4f 62 6a 65 63 74 2d 43 | 6f 75 6e 74 69 6e 67 20 |Object-C|ounting |
|00002680| 46 75 6e 63 74 69 6f 6e | 14 14 36 2d 34 35 0d 57 |Function|..6-45.W|
|00002690| 72 69 74 69 6e 67 20 61 | 6e 20 4f 62 6a 65 63 74 |riting a|n Object|
|000026a0| 20 43 6f 6d 70 61 72 69 | 73 6f 6e 20 46 75 6e 63 | Compari|son Func|
|000026b0| 74 69 6f 6e 14 14 36 2d | 34 37 0d 57 72 69 74 69 |tion..6-|47.Writi|
|000026c0| 6e 67 20 4d 61 72 6b 69 | 6e 67 20 43 61 6c 6c 62 |ng Marki|ng Callb|
|000026d0| 61 63 6b 20 46 75 6e 63 | 74 69 6f 6e 73 14 14 36 |ack Func|tions..6|
|000026e0| 2d 35 30 0d 43 72 65 61 | 74 69 6e 67 20 4f 62 6a |-50.Crea|ting Obj|
|000026f0| 65 63 74 20 53 70 65 63 | 69 66 69 65 72 20 52 65 |ect Spec|ifier Re|
|00002700| 63 6f 72 64 73 14 14 36 | 2d 35 32 0d 43 72 65 61 |cords..6|-52.Crea|
|00002710| 74 69 6e 67 20 61 20 53 | 69 6d 70 6c 65 20 4f 62 |ting a S|imple Ob|
|00002720| 6a 65 63 74 20 53 70 65 | 63 69 66 69 65 72 20 52 |ject Spe|cifier R|
|00002730| 65 63 6f 72 64 14 14 36 | 2d 35 34 0d 53 70 65 63 |ecord..6|-54.Spec|
|00002740| 69 66 79 69 6e 67 20 74 | 68 65 20 43 6f 6e 74 61 |ifying t|he Conta|
|00002750| 69 6e 65 72 20 48 69 65 | 72 61 72 63 68 79 14 14 |iner Hie|rarchy..|
|00002760| 36 2d 35 37 0d 53 70 65 | 63 69 66 79 69 6e 67 20 |6-57.Spe|cifying |
|00002770| 61 20 50 72 6f 70 65 72 | 74 79 14 14 36 2d 35 39 |a Proper|ty..6-59|
|00002780| 0d 53 70 65 63 69 66 79 | 69 6e 67 20 61 20 52 65 |.Specify|ing a Re|
|00002790| 6c 61 74 69 76 65 20 50 | 6f 73 69 74 69 6f 6e 14 |lative P|osition.|
|000027a0| 14 36 2d 35 39 0d 43 72 | 65 61 74 69 6e 67 20 61 |.6-59.Cr|eating a|
|000027b0| 20 43 6f 6d 70 6c 65 78 | 20 4f 62 6a 65 63 74 20 | Complex| Object |
|000027c0| 53 70 65 63 69 66 69 65 | 72 20 52 65 63 6f 72 64 |Specifie|r Record|
|000027d0| 14 14 36 2d 36 30 0d 53 | 70 65 63 69 66 79 69 6e |..6-60.S|pecifyin|
|000027e0| 67 20 61 20 54 65 73 74 | 14 14 36 2d 36 30 0d 53 |g a Test|..6-60.S|
|000027f0| 70 65 63 69 66 79 69 6e | 67 20 61 20 52 61 6e 67 |pecifyin|g a Rang|
|00002800| 65 14 14 36 2d 36 38 0d | 52 65 66 65 72 65 6e 63 |e..6-68.|Referenc|
|00002810| 65 20 74 6f 20 52 65 73 | 6f 6c 76 69 6e 67 20 61 |e to Res|olving a|
|00002820| 6e 64 20 43 72 65 61 74 | 69 6e 67 20 4f 62 6a 65 |nd Creat|ing Obje|
|00002830| 63 74 20 53 70 65 63 69 | 66 69 65 72 20 52 65 63 |ct Speci|fier Rec|
|00002840| 6f 72 64 73 14 14 36 2d | 37 31 0d 44 61 74 61 20 |ords..6-|71.Data |
|00002850| 53 74 72 75 63 74 75 72 | 65 73 20 55 73 65 64 20 |Structur|es Used |
|00002860| 69 6e 20 4f 62 6a 65 63 | 74 20 53 70 65 63 69 66 |in Objec|t Specif|
|00002870| 69 65 72 20 52 65 63 6f | 72 64 73 14 14 36 2d 37 |ier Reco|rds..6-7|
|00002880| 31 0d 52 6f 75 74 69 6e | 65 73 20 66 6f 72 20 52 |1.Routin|es for R|
|00002890| 65 73 6f 6c 76 69 6e 67 | 20 61 6e 64 20 43 72 65 |esolving| and Cre|
|000028a0| 61 74 69 6e 67 20 4f 62 | 6a 65 63 74 20 53 70 65 |ating Ob|ject Spe|
|000028b0| 63 69 66 69 65 72 20 52 | 65 63 6f 72 64 73 14 14 |cifier R|ecords..|
|000028c0| 36 2d 37 33 0d 49 6e 69 | 74 69 61 6c 69 7a 69 6e |6-73.Ini|tializin|
|000028d0| 67 20 74 68 65 20 4f 62 | 6a 65 63 74 20 53 75 70 |g the Ob|ject Sup|
|000028e0| 70 6f 72 74 20 4c 69 62 | 72 61 72 79 14 14 36 2d |port Lib|rary..6-|
|000028f0| 37 33 0d 53 65 74 74 69 | 6e 67 20 4f 62 6a 65 63 |73.Setti|ng Objec|
|00002900| 74 20 41 63 63 65 73 73 | 6f 72 20 46 75 6e 63 74 |t Access|or Funct|
|00002910| 69 6f 6e 73 20 61 6e 64 | 20 4f 62 6a 65 63 74 20 |ions and| Object |
|00002920| 43 61 6c 6c 62 61 63 6b | 20 46 75 6e 63 74 69 6f |Callback| Functio|
|00002930| 6e 73 14 14 36 2d 37 33 | 0d 47 65 74 74 69 6e 67 |ns..6-73|.Getting|
|00002940| 2c 20 43 61 6c 6c 69 6e | 67 2c 20 61 6e 64 20 52 |, Callin|g, and R|
|00002950| 65 6d 6f 76 69 6e 67 20 | 4f 62 6a 65 63 74 20 41 |emoving |Object A|
|00002960| 63 63 65 73 73 6f 72 20 | 46 75 6e 63 74 69 6f 6e |ccessor |Function|
|00002970| 73 14 14 36 2d 37 37 0d | 52 65 73 6f 6c 76 69 6e |s..6-77.|Resolvin|
|00002980| 67 20 4f 62 6a 65 63 74 | 20 53 70 65 63 69 66 69 |g Object| Specifi|
|00002990| 65 72 20 52 65 63 6f 72 | 64 73 14 14 36 2d 38 31 |er Recor|ds..6-81|
|000029a0| 0d 44 65 61 6c 6c 6f 63 | 61 74 69 6e 67 20 4d 65 |.Dealloc|ating Me|
|000029b0| 6d 6f 72 79 20 66 6f 72 | 20 54 6f 6b 65 6e 73 14 |mory for| Tokens.|
|000029c0| 14 36 2d 38 33 0d 43 72 | 65 61 74 69 6e 67 20 4f |.6-83.Cr|eating O|
|000029d0| 62 6a 65 63 74 20 53 70 | 65 63 69 66 69 65 72 20 |bject Sp|ecifier |
|000029e0| 52 65 63 6f 72 64 73 14 | 14 36 2d 38 34 0d 41 70 |Records.|.6-84.Ap|
|000029f0| 70 6c 69 63 61 74 69 6f | 6e 2d 44 65 66 69 6e 65 |plicatio|n-Define|
|00002a00| 64 20 46 75 6e 63 74 69 | 6f 6e 73 14 14 36 2d 39 |d Functi|ons..6-9|
|00002a10| 30 0d 4f 62 6a 65 63 74 | 20 41 63 63 65 73 73 6f |0.Object| Accesso|
|00002a20| 72 20 46 75 6e 63 74 69 | 6f 6e 73 14 14 36 2d 39 |r Functi|ons..6-9|
|00002a30| 30 0d 4f 62 6a 65 63 74 | 20 43 61 6c 6c 62 61 63 |0.Object| Callbac|
|00002a40| 6b 20 46 75 6e 63 74 69 | 6f 6e 73 14 14 36 2d 39 |k Functi|ons..6-9|
|00002a50| 32 0d 53 75 6d 6d 61 72 | 79 20 6f 66 20 52 65 73 |2.Summar|y of Res|
|00002a60| 6f 6c 76 69 6e 67 20 61 | 6e 64 20 43 72 65 61 74 |olving a|nd Creat|
|00002a70| 69 6e 67 20 4f 62 6a 65 | 63 74 20 53 70 65 63 69 |ing Obje|ct Speci|
|00002a80| 66 69 65 72 20 52 65 63 | 6f 72 64 73 14 14 36 2d |fier Rec|ords..6-|
|00002a90| 31 30 30 0d 43 68 61 70 | 74 65 72 20 37 09 49 6e |100.Chap|ter 7.In|
|00002aa0| 74 72 6f 64 75 63 74 69 | 6f 6e 20 74 6f 20 53 63 |troducti|on to Sc|
|00002ab0| 72 69 70 74 69 6e 67 20 | 37 2d 33 0d 41 62 6f 75 |ripting |7-3.Abou|
|00002ac0| 74 20 53 63 72 69 70 74 | 73 20 61 6e 64 20 53 63 |t Script|s and Sc|
|00002ad0| 72 69 70 74 69 6e 67 20 | 43 6f 6d 70 6f 6e 65 6e |ripting |Componen|
|00002ae0| 74 73 14 14 37 2d 34 0d | 53 63 72 69 70 74 20 45 |ts..7-4.|Script E|
|00002af0| 64 69 74 6f 72 73 20 61 | 6e 64 20 53 63 72 69 70 |ditors a|nd Scrip|
|00002b00| 74 20 46 69 6c 65 73 14 | 14 37 2d 35 0d 53 63 72 |t Files.|.7-5.Scr|
|00002b10| 69 70 74 69 6e 67 20 43 | 6f 6d 70 6f 6e 65 6e 74 |ipting C|omponent|
|00002b20| 73 20 61 6e 64 20 53 63 | 72 69 70 74 61 62 6c 65 |s and Sc|riptable|
|00002b30| 20 41 70 70 6c 69 63 61 | 74 69 6f 6e 73 14 14 37 | Applica|tions..7|
|00002b40| 2d 37 0d 53 63 72 69 70 | 74 69 6e 67 20 43 6f 6d |-7.Scrip|ting Com|
|00002b50| 70 6f 6e 65 6e 74 73 20 | 61 6e 64 20 41 70 70 6c |ponents |and Appl|
|00002b60| 69 63 61 74 69 6f 6e 73 | 20 54 68 61 74 20 45 78 |ications| That Ex|
|00002b70| 65 63 75 74 65 20 53 63 | 72 69 70 74 73 14 14 37 |ecute Sc|ripts..7|
|00002b80| 2d 31 30 0d 4d 61 6b 69 | 6e 67 20 59 6f 75 72 20 |-10.Maki|ng Your |
|00002b90| 41 70 70 6c 69 63 61 74 | 69 6f 6e 20 53 63 72 69 |Applicat|ion Scri|
|00002ba0| 70 74 61 62 6c 65 14 14 | 37 2d 31 33 0d 41 62 6f |ptable..|7-13.Abo|
|00002bb0| 75 74 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 54 |ut Apple| Event T|
|00002bc0| 65 72 6d 69 6e 6f 6c 6f | 67 79 20 52 65 73 6f 75 |erminolo|gy Resou|
|00002bd0| 72 63 65 73 14 14 37 2d | 31 34 0d 48 6f 77 20 41 |rces..7-|14.How A|
|00002be0| 70 70 6c 65 53 63 72 69 | 70 74 20 55 73 65 73 20 |ppleScri|pt Uses |
|00002bf0| 54 65 72 6d 69 6e 6f 6c | 6f 67 79 20 49 6e 66 6f |Terminol|ogy Info|
|00002c00| 72 6d 61 74 69 6f 6e 14 | 14 37 2d 31 35 0d 44 79 |rmation.|.7-15.Dy|
|00002c10| 6e 61 6d 69 63 20 4c 6f | 61 64 69 6e 67 20 6f 66 |namic Lo|ading of|
|00002c20| 20 54 65 72 6d 69 6e 6f | 6c 6f 67 79 20 49 6e 66 | Termino|logy Inf|
|00002c30| 6f 72 6d 61 74 69 6f 6e | 14 14 37 2d 31 39 0d 4d |ormation|..7-19.M|
|00002c40| 61 6b 69 6e 67 20 59 6f | 75 72 20 41 70 70 6c 69 |aking Yo|ur Appli|
|00002c50| 63 61 74 69 6f 6e 20 52 | 65 63 6f 72 64 61 62 6c |cation R|ecordabl|
|00002c60| 65 14 14 37 2d 31 39 0d | 4d 61 6e 69 70 75 6c 61 |e..7-19.|Manipula|
|00002c70| 74 69 6e 67 20 61 6e 64 | 20 45 78 65 63 75 74 69 |ting and| Executi|
|00002c80| 6e 67 20 53 63 72 69 70 | 74 73 14 14 37 2d 32 31 |ng Scrip|ts..7-21|
|00002c90| 0d 43 6f 6d 70 69 6c 69 | 6e 67 2c 20 53 61 76 69 |.Compili|ng, Savi|
|00002ca0| 6e 67 2c 20 4d 6f 64 69 | 66 79 69 6e 67 2c 20 61 |ng, Modi|fying, a|
|00002cb0| 6e 64 20 45 78 65 63 75 | 74 69 6e 67 20 53 63 72 |nd Execu|ting Scr|
|00002cc0| 69 70 74 73 14 14 37 2d | 32 33 0d 55 73 69 6e 67 |ipts..7-|23.Using|
|00002cd0| 20 61 20 53 63 72 69 70 | 74 20 43 6f 6e 74 65 78 | a Scrip|t Contex|
|00002ce0| 74 20 74 6f 20 48 61 6e | 64 6c 65 20 61 6e 20 41 |t to Han|dle an A|
|00002cf0| 70 70 6c 65 20 45 76 65 | 6e 74 14 14 37 2d 32 34 |pple Eve|nt..7-24|
|00002d00| 0d 43 68 61 70 74 65 72 | 20 38 09 41 70 70 6c 65 |.Chapter| 8.Apple|
|00002d10| 20 45 76 65 6e 74 20 54 | 65 72 6d 69 6e 6f 6c 6f | Event T|erminolo|
|00002d20| 67 79 20 52 65 73 6f 75 | 72 63 65 73 20 38 2d 33 |gy Resou|rces 8-3|
|00002d30| 0d 44 65 66 69 6e 69 6e | 67 20 54 65 72 6d 69 6e |.Definin|g Termin|
|00002d40| 6f 6c 6f 67 79 20 66 6f | 72 20 55 73 65 20 62 79 |ology fo|r Use by|
|00002d50| 20 74 68 65 20 41 70 70 | 6c 65 53 63 72 69 70 74 | the App|leScript|
|00002d60| 20 43 6f 6d 70 6f 6e 65 | 6e 74 14 14 38 2d 33 0d | Compone|nt..8-3.|
|00002d70| 53 74 72 75 63 74 75 72 | 65 20 6f 66 20 41 70 70 |Structur|e of App|
|00002d80| 6c 65 20 45 76 65 6e 74 | 20 54 65 72 6d 69 6e 6f |le Event| Termino|
|00002d90| 6c 6f 67 79 20 52 65 73 | 6f 75 72 63 65 73 14 14 |logy Res|ources..|
|00002da0| 38 2d 37 0d 43 72 65 61 | 74 69 6e 67 20 61 6e 20 |8-7.Crea|ting an |
|00002db0| 41 70 70 6c 65 20 45 76 | 65 6e 74 20 54 65 72 6d |Apple Ev|ent Term|
|00002dc0| 69 6e 6f 6c 6f 67 79 20 | 45 78 74 65 6e 73 69 6f |inology |Extensio|
|00002dd0| 6e 20 52 65 73 6f 75 72 | 63 65 14 14 38 2d 31 33 |n Resour|ce..8-13|
|00002de0| 0d 53 75 70 70 6f 72 74 | 69 6e 67 20 53 74 61 6e |.Support|ing Stan|
|00002df0| 64 61 72 64 20 53 75 69 | 74 65 73 20 57 69 74 68 |dard Sui|tes With|
|00002e00| 6f 75 74 20 45 78 74 65 | 6e 73 69 6f 6e 73 14 14 |out Exte|nsions..|
|00002e10| 38 2d 31 34 0d 45 78 74 | 65 6e 64 69 6e 67 20 74 |8-14.Ext|ending t|
|00002e20| 68 65 20 53 74 61 6e 64 | 61 72 64 20 53 75 69 74 |he Stand|ard Suit|
|00002e30| 65 73 14 14 38 2d 31 36 | 0d 53 75 70 70 6f 72 74 |es..8-16|.Support|
|00002e40| 69 6e 67 20 53 75 62 73 | 65 74 73 20 6f 66 20 53 |ing Subs|ets of S|
|00002e50| 75 69 74 65 73 14 14 38 | 2d 32 33 0d 53 75 70 70 |uites..8|-23.Supp|
|00002e60| 6f 72 74 69 6e 67 20 4e | 65 77 20 53 75 69 74 65 |orting N|ew Suite|
|00002e70| 73 14 14 38 2d 32 33 0d | 48 61 6e 64 6c 69 6e 67 |s..8-23.|Handling|
|00002e80| 20 74 68 65 20 47 65 74 | 20 41 45 54 45 20 45 76 | the Get| AETE Ev|
|00002e90| 65 6e 74 14 14 38 2d 32 | 33 0d 52 65 66 65 72 65 |ent..8-2|3.Refere|
|00002ea0| 6e 63 65 20 74 6f 20 41 | 70 70 6c 65 20 45 76 65 |nce to A|pple Eve|
|00002eb0| 6e 74 20 54 65 72 6d 69 | 6e 6f 6c 6f 67 79 20 52 |nt Termi|nology R|
|00002ec0| 65 73 6f 75 72 63 65 73 | 14 14 38 2d 32 36 0d 48 |esources|..8-26.H|
|00002ed0| 65 61 64 65 72 20 44 61 | 74 61 20 66 6f 72 20 61 |eader Da|ta for a|
|00002ee0| 6e 20 41 70 70 6c 65 20 | 45 76 65 6e 74 20 54 65 |n Apple |Event Te|
|00002ef0| 72 6d 69 6e 6f 6c 6f 67 | 79 20 52 65 73 6f 75 72 |rminolog|y Resour|
|00002f00| 63 65 14 14 38 2d 32 37 | 0d 53 75 69 74 65 20 44 |ce..8-27|.Suite D|
|00002f10| 61 74 61 20 66 6f 72 20 | 61 6e 20 41 70 70 6c 65 |ata for |an Apple|
|00002f20| 20 45 76 65 6e 74 20 55 | 73 65 72 20 54 65 72 6d | Event U|ser Term|
|00002f30| 69 6e 6f 6c 6f 67 79 20 | 52 65 73 6f 75 72 63 65 |inology |Resource|
|00002f40| 14 14 38 2d 32 37 0d 45 | 76 65 6e 74 20 44 61 74 |..8-27.E|vent Dat|
|00002f50| 61 14 14 38 2d 32 39 0d | 4f 62 6a 65 63 74 20 43 |a..8-29.|Object C|
|00002f60| 6c 61 73 73 20 44 61 74 | 61 14 14 38 2d 33 36 0d |lass Dat|a..8-36.|
|00002f70| 43 6f 6d 70 61 72 69 73 | 6f 6e 20 4f 70 65 72 61 |Comparis|on Opera|
|00002f80| 74 6f 72 20 44 61 74 61 | 14 14 38 2d 34 31 0d 45 |tor Data|..8-41.E|
|00002f90| 6e 75 6d 65 72 61 74 69 | 6f 6e 20 61 6e 64 20 45 |numerati|on and E|
|00002fa0| 6e 75 6d 65 72 61 74 6f | 72 20 44 61 74 61 14 14 |numerato|r Data..|
|00002fb0| 38 2d 34 32 0d 54 68 65 | 20 53 63 72 69 70 74 69 |8-42.The| Scripti|
|00002fc0| 6e 67 20 53 69 7a 65 20 | 52 65 73 6f 75 72 63 65 |ng Size |Resource|
|00002fd0| 14 14 38 2d 34 34 0d 43 | 68 61 70 74 65 72 20 39 |..8-44.C|hapter 9|
|00002fe0| 09 52 65 63 6f 72 64 69 | 6e 67 20 41 70 70 6c 65 |.Recordi|ng Apple|
|00002ff0| 20 45 76 65 6e 74 73 20 | 39 2d 33 0d 41 62 6f 75 | Events |9-3.Abou|
|00003000| 74 20 52 65 63 6f 72 64 | 61 62 6c 65 20 41 70 70 |t Record|able App|
|00003010| 6c 69 63 61 74 69 6f 6e | 73 14 14 39 2d 33 0d 46 |lication|s..9-3.F|
|00003020| 61 63 74 6f 72 69 6e 67 | 20 59 6f 75 72 20 41 70 |actoring| Your Ap|
|00003030| 70 6c 69 63 61 74 69 6f | 6e 20 66 6f 72 20 52 65 |plicatio|n for Re|
|00003040| 63 6f 72 64 69 6e 67 14 | 14 39 2d 35 0d 46 61 63 |cording.|.9-5.Fac|
|00003050| 74 6f 72 69 6e 67 20 74 | 68 65 20 51 75 69 74 20 |toring t|he Quit |
|00003060| 43 6f 6d 6d 61 6e 64 20 | 61 6e 64 20 74 68 65 20 |Command |and the |
|00003070| 4e 65 77 20 43 6f 6d 6d | 61 6e 64 14 14 39 2d 36 |New Comm|and..9-6|
|00003080| 0d 53 65 6e 64 69 6e 67 | 20 41 70 70 6c 65 20 45 |.Sending| Apple E|
|00003090| 76 65 6e 74 73 20 57 69 | 74 68 6f 75 74 20 45 78 |vents Wi|thout Ex|
|000030a0| 65 63 75 74 69 6e 67 20 | 54 68 65 6d 14 14 39 2d |ecuting |Them..9-|
|000030b0| 31 32 0d 57 68 61 74 20 | 74 6f 20 52 65 63 6f 72 |12.What |to Recor|
|000030c0| 64 14 14 39 2d 31 33 0d | 52 65 63 6f 72 64 69 6e |d..9-13.|Recordin|
|000030d0| 67 20 55 73 65 72 20 41 | 63 74 69 6f 6e 73 14 14 |g User A|ctions..|
|000030e0| 39 2d 31 34 0d 52 65 63 | 6f 72 64 69 6e 67 20 74 |9-14.Rec|ording t|
|000030f0| 68 65 20 53 65 6c 65 63 | 74 69 6f 6e 20 6f 66 20 |he Selec|tion of |
|00003100| 54 65 78 74 20 4f 62 6a | 65 63 74 73 14 14 39 2d |Text Obj|ects..9-|
|00003110| 31 37 0d 52 65 63 6f 72 | 64 69 6e 67 20 49 6e 73 |17.Recor|ding Ins|
|00003120| 65 72 74 69 6f 6e 20 50 | 6f 69 6e 74 73 14 14 39 |ertion P|oints..9|
|00003130| 2d 32 35 0d 52 65 63 6f | 72 64 69 6e 67 20 54 79 |-25.Reco|rding Ty|
|00003140| 70 69 6e 67 14 14 39 2d | 32 39 0d 52 65 63 6f 72 |ping..9-|29.Recor|
|00003150| 64 69 6e 67 20 74 68 65 | 20 53 65 6c 65 63 74 69 |ding the| Selecti|
|00003160| 6f 6e 20 6f 66 20 4e 6f | 6e 74 65 78 74 20 4f 62 |on of No|ntext Ob|
|00003170| 6a 65 63 74 73 14 14 39 | 2d 33 33 0d 49 64 65 6e |jects..9|-33.Iden|
|00003180| 74 69 66 79 69 6e 67 20 | 4f 62 6a 65 63 74 73 14 |tifying |Objects.|
|00003190| 14 39 2d 33 35 0d 4d 6f | 76 69 6e 67 20 74 68 65 |.9-35.Mo|ving the|
|000031a0| 20 53 65 6c 65 63 74 69 | 6f 6e 20 44 75 72 69 6e | Selecti|on Durin|
|000031b0| 67 20 52 65 63 6f 72 64 | 69 6e 67 14 14 39 2d 33 |g Record|ing..9-3|
|000031c0| 37 0d 52 65 63 6f 72 64 | 69 6e 67 20 49 6e 74 65 |7.Record|ing Inte|
|000031d0| 72 61 63 74 69 6f 6e 73 | 20 57 69 74 68 20 44 69 |ractions| With Di|
|000031e0| 61 6c 6f 67 20 42 6f 78 | 65 73 14 14 39 2d 33 38 |alog Box|es..9-38|
|000031f0| 0d 53 70 65 63 69 61 6c | 20 43 6f 6e 73 69 64 65 |.Special| Conside|
|00003200| 72 61 74 69 6f 6e 73 20 | 66 6f 72 20 53 63 72 69 |rations |for Scri|
|00003210| 70 74 73 20 74 68 61 74 | 20 52 75 6e 20 41 73 79 |pts that| Run Asy|
|00003220| 6e 63 68 72 6f 6e 6f 75 | 73 6c 79 14 14 39 2d 33 |nchronou|sly..9-3|
|00003230| 38 0d 48 6f 77 20 41 70 | 70 6c 65 20 45 76 65 6e |8.How Ap|ple Even|
|00003240| 74 20 52 65 63 6f 72 64 | 69 6e 67 20 57 6f 72 6b |t Record|ing Work|
|00003250| 73 14 14 39 2d 33 39 0d | 43 68 61 70 74 65 72 20 |s..9-39.|Chapter |
|00003260| 31 30 09 53 63 72 69 70 | 74 69 6e 67 20 43 6f 6d |10.Scrip|ting Com|
|00003270| 70 6f 6e 65 6e 74 73 20 | 31 30 2d 33 0d 43 6f 6e |ponents |10-3.Con|
|00003280| 6e 65 63 74 69 6e 67 20 | 74 6f 20 61 20 53 63 72 |necting |to a Scr|
|00003290| 69 70 74 69 6e 67 20 43 | 6f 6d 70 6f 6e 65 6e 74 |ipting C|omponent|
|000032a0| 14 14 31 30 2d 33 0d 55 | 73 69 6e 67 20 53 63 72 |..10-3.U|sing Scr|
|000032b0| 69 70 74 69 6e 67 20 43 | 6f 6d 70 6f 6e 65 6e 74 |ipting C|omponent|
|000032c0| 20 52 6f 75 74 69 6e 65 | 73 14 14 31 30 2d 37 0d | Routine|s..10-7.|
|000032d0| 43 6f 6d 70 69 6c 69 6e | 67 20 61 6e 64 20 45 78 |Compilin|g and Ex|
|000032e0| 65 63 75 74 69 6e 67 20 | 53 6f 75 72 63 65 20 44 |ecuting |Source D|
|000032f0| 61 74 61 14 14 31 30 2d | 37 0d 53 61 76 69 6e 67 |ata..10-|7.Saving|
|00003300| 20 53 63 72 69 70 74 20 | 44 61 74 61 14 14 31 30 | Script |Data..10|
|00003310| 2d 31 31 0d 53 74 6f 72 | 61 67 65 20 46 6f 72 6d |-11.Stor|age Form|
|00003320| 61 74 73 20 66 6f 72 20 | 53 63 72 69 70 74 20 44 |ats for |Script D|
|00003330| 61 74 61 14 14 31 30 2d | 31 31 0d 52 65 73 6f 75 |ata..10-|11.Resou|
|00003340| 72 63 65 20 61 6e 64 20 | 46 69 6c 65 20 54 79 70 |rce and |File Typ|
|00003350| 65 73 20 66 6f 72 20 53 | 63 72 69 70 74 20 44 61 |es for S|cript Da|
|00003360| 74 61 14 14 31 30 2d 31 | 33 0d 4c 6f 61 64 69 6e |ta..10-1|3.Loadin|
|00003370| 67 20 61 6e 64 20 45 78 | 65 63 75 74 69 6e 67 20 |g and Ex|ecuting |
|00003380| 53 63 72 69 70 74 20 44 | 61 74 61 14 14 31 30 2d |Script D|ata..10-|
|00003390| 31 33 0d 4d 6f 64 69 66 | 79 69 6e 67 20 61 6e 64 |13.Modif|ying and|
|000033a0| 20 52 65 63 6f 6d 70 69 | 6c 69 6e 67 20 61 20 43 | Recompi|ling a C|
|000033b0| 6f 6d 70 69 6c 65 64 20 | 53 63 72 69 70 74 14 14 |ompiled |Script..|
|000033c0| 31 30 2d 31 36 0d 45 78 | 65 63 75 74 69 6e 67 20 |10-16.Ex|ecuting |
|000033d0| 61 6e 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 48 |an Apple| Event H|
|000033e0| 61 6e 64 6c 65 72 20 69 | 6e 20 61 20 53 63 72 69 |andler i|n a Scri|
|000033f0| 70 74 20 43 6f 6e 74 65 | 78 74 14 14 31 30 2d 31 |pt Conte|xt..10-1|
|00003400| 38 0d 53 75 70 70 6c 79 | 69 6e 67 20 61 6e 20 41 |8.Supply|ing an A|
|00003410| 6c 74 65 72 6e 61 74 69 | 76 65 20 41 63 74 69 76 |lternati|ve Activ|
|00003420| 65 20 46 75 6e 63 74 69 | 6f 6e 14 14 31 30 2d 32 |e Functi|on..10-2|
|00003430| 30 0d 53 75 70 70 6c 79 | 69 6e 67 20 41 6c 74 65 |0.Supply|ing Alte|
|00003440| 72 6e 61 74 69 76 65 20 | 43 72 65 61 74 65 20 61 |rnative |Create a|
|00003450| 6e 64 20 53 65 6e 64 20 | 46 75 6e 63 74 69 6f 6e |nd Send |Function|
|00003460| 73 14 14 31 30 2d 32 31 | 0d 41 6c 74 65 72 6e 61 |s..10-21|.Alterna|
|00003470| 74 69 76 65 20 43 72 65 | 61 74 65 20 46 75 6e 63 |tive Cre|ate Func|
|00003480| 74 69 6f 6e 73 14 14 31 | 30 2d 32 31 0d 41 6c 74 |tions..1|0-21.Alt|
|00003490| 65 72 6e 61 74 69 76 65 | 20 53 65 6e 64 20 46 75 |ernative| Send Fu|
|000034a0| 6e 63 74 69 6f 6e 73 14 | 14 31 30 2d 32 32 0d 52 |nctions.|.10-22.R|
|000034b0| 65 63 6f 72 64 69 6e 67 | 20 53 63 72 69 70 74 73 |ecording| Scripts|
|000034c0| 14 14 31 30 2d 32 33 0d | 57 72 69 74 69 6e 67 20 |..10-23.|Writing |
|000034d0| 61 20 53 63 72 69 70 74 | 69 6e 67 20 43 6f 6d 70 |a Script|ing Comp|
|000034e0| 6f 6e 65 6e 74 14 14 31 | 30 2d 32 34 0d 53 63 72 |onent..1|0-24.Scr|
|000034f0| 69 70 74 69 6e 67 20 43 | 6f 6d 70 6f 6e 65 6e 74 |ipting C|omponent|
|00003500| 73 20 52 65 66 65 72 65 | 6e 63 65 14 14 31 30 2d |s Refere|nce..10-|
|00003510| 32 35 0d 44 61 74 61 20 | 53 74 72 75 63 74 75 72 |25.Data |Structur|
|00003520| 65 73 14 14 31 30 2d 32 | 35 0d 52 65 71 75 69 72 |es..10-2|5.Requir|
|00003530| 65 64 20 53 63 72 69 70 | 74 69 6e 67 20 43 6f 6d |ed Scrip|ting Com|
|00003540| 70 6f 6e 65 6e 74 20 52 | 6f 75 74 69 6e 65 73 14 |ponent R|outines.|
|00003550| 14 31 30 2d 32 36 0d 53 | 61 76 69 6e 67 20 61 6e |.10-26.S|aving an|
|00003560| 64 20 4c 6f 61 64 69 6e | 67 20 53 63 72 69 70 74 |d Loadin|g Script|
|00003570| 20 44 61 74 61 14 14 31 | 30 2d 32 36 0d 45 78 65 | Data..1|0-26.Exe|
|00003580| 63 75 74 69 6e 67 20 61 | 6e 64 20 44 69 73 70 6f |cuting a|nd Dispo|
|00003590| 73 69 6e 67 20 6f 66 20 | 53 63 72 69 70 74 73 14 |sing of |Scripts.|
|000035a0| 14 31 30 2d 32 39 0d 53 | 65 74 74 69 6e 67 20 61 |.10-29.S|etting a|
|000035b0| 6e 64 20 47 65 74 74 69 | 6e 67 20 53 63 72 69 70 |nd Getti|ng Scrip|
|000035c0| 74 20 49 6e 66 6f 72 6d | 61 74 69 6f 6e 14 14 31 |t Inform|ation..1|
|000035d0| 30 2d 33 35 0d 4d 61 6e | 69 70 75 6c 61 74 69 6e |0-35.Man|ipulatin|
|000035e0| 67 20 74 68 65 20 41 63 | 74 69 76 65 20 46 75 6e |g the Ac|tive Fun|
|000035f0| 63 74 69 6f 6e 14 14 31 | 30 2d 33 38 0d 4f 70 74 |ction..1|0-38.Opt|
|00003600| 69 6f 6e 61 6c 20 53 63 | 72 69 70 74 69 6e 67 20 |ional Sc|ripting |
|00003610| 43 6f 6d 70 6f 6e 65 6e | 74 20 52 6f 75 74 69 6e |Componen|t Routin|
|00003620| 65 73 14 14 31 30 2d 33 | 39 0d 43 6f 6d 70 69 6c |es..10-3|9.Compil|
|00003630| 69 6e 67 20 53 63 72 69 | 70 74 73 14 14 31 30 2d |ing Scri|pts..10-|
|00003640| 34 30 0d 47 65 74 74 69 | 6e 67 20 53 6f 75 72 63 |40.Getti|ng Sourc|
|00003650| 65 20 44 61 74 61 14 14 | 31 30 2d 34 33 0d 43 6f |e Data..|10-43.Co|
|00003660| 65 72 63 69 6e 67 20 53 | 63 72 69 70 74 20 56 61 |ercing S|cript Va|
|00003670| 6c 75 65 73 14 14 31 30 | 2d 34 35 0d 4d 61 6e 69 |lues..10|-45.Mani|
|00003680| 70 75 6c 61 74 69 6e 67 | 20 74 68 65 20 43 72 65 |pulating| the Cre|
|00003690| 61 74 65 20 61 6e 64 20 | 53 65 6e 64 20 46 75 6e |ate and |Send Fun|
|000036a0| 63 74 69 6f 6e 73 14 14 | 31 30 2d 34 37 0d 52 65 |ctions..|10-47.Re|
|000036b0| 63 6f 72 64 69 6e 67 20 | 53 63 72 69 70 74 73 14 |cording |Scripts.|
|000036c0| 14 31 30 2d 35 31 0d 45 | 78 65 63 75 74 69 6e 67 |.10-51.E|xecuting|
|000036d0| 20 53 63 72 69 70 74 73 | 20 49 6e 20 4f 6e 65 20 | Scripts| In One |
|000036e0| 53 74 65 70 14 14 31 30 | 2d 35 33 0d 4d 61 6e 69 |Step..10|-53.Mani|
|000036f0| 70 75 6c 61 74 69 6e 67 | 20 44 69 61 6c 65 63 74 |pulating| Dialect|
|00003700| 73 14 14 31 30 2d 35 37 | 0d 45 78 65 63 75 74 69 |s..10-57|.Executi|
|00003710| 6e 67 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 48 |ng Apple| Event H|
|00003720| 61 6e 64 6c 65 72 73 20 | 69 6e 20 53 63 72 69 70 |andlers |in Scrip|
|00003730| 74 20 43 6f 6e 74 65 78 | 74 73 14 14 31 30 2d 36 |t Contex|ts..10-6|
|00003740| 30 0d 41 70 70 6c 65 53 | 63 72 69 70 74 20 43 6f |0.AppleS|cript Co|
|00003750| 6d 70 6f 6e 65 6e 74 20 | 52 6f 75 74 69 6e 65 73 |mponent |Routines|
|00003760| 14 14 31 30 2d 36 36 0d | 49 6e 69 74 69 61 6c 69 |..10-66.|Initiali|
|00003770| 7a 69 6e 67 20 41 70 70 | 6c 65 53 63 72 69 70 74 |zing App|leScript|
|00003780| 14 14 31 30 2d 36 36 0d | 47 65 74 74 69 6e 67 20 |..10-66.|Getting |
|00003790| 61 6e 64 20 53 65 74 74 | 69 6e 67 20 53 74 79 6c |and Sett|ing Styl|
|000037a0| 65 73 20 66 6f 72 20 53 | 6f 75 72 63 65 20 44 61 |es for S|ource Da|
|000037b0| 74 61 14 14 31 30 2d 36 | 38 0d 52 6f 75 74 69 6e |ta..10-6|8.Routin|
|000037c0| 65 73 20 55 73 65 64 20 | 62 79 20 53 63 72 69 70 |es Used |by Scrip|
|000037d0| 74 69 6e 67 20 43 6f 6d | 70 6f 6e 65 6e 74 73 14 |ting Com|ponents.|
|000037e0| 14 31 30 2d 37 30 0d 4d | 61 6e 69 70 75 6c 61 74 |.10-70.M|anipulat|
|000037f0| 69 6e 67 20 54 72 61 69 | 6c 65 72 73 20 66 6f 72 |ing Trai|lers for|
|00003800| 20 47 65 6e 65 72 69 63 | 20 53 74 6f 72 61 67 65 | Generic| Storage|
|00003810| 20 44 65 73 63 72 69 70 | 74 6f 72 20 52 65 63 6f | Descrip|tor Reco|
|00003820| 72 64 73 14 14 31 30 2d | 37 30 0d 41 70 70 6c 69 |rds..10-|70.Appli|
|00003830| 63 61 74 69 6f 6e 2d 44 | 65 66 69 6e 65 64 20 46 |cation-D|efined F|
|00003840| 75 6e 63 74 69 6f 6e 73 | 14 14 31 30 2d 37 32 0d |unctions|..10-72.|
|00003850| 53 75 6d 6d 61 72 79 20 | 6f 66 20 53 63 72 69 70 |Summary |of Scrip|
|00003860| 74 69 6e 67 20 43 6f 6d | 70 6f 6e 65 6e 74 73 14 |ting Com|ponents.|
|00003870| 14 31 30 2d 37 36 0d 43 | 68 61 70 74 65 72 20 31 |.10-76.C|hapter 1|
|00003880| 31 09 54 68 65 20 50 72 | 6f 67 72 61 6d 2d 54 6f |1.The Pr|ogram-To|
|00003890| 2d 50 72 6f 67 72 61 6d | 20 43 6f 6d 6d 75 6e 69 |-Program| Communi|
|000038a0| 63 61 74 69 6f 6e 73 20 | 54 6f 6f 6c 62 6f 78 20 |cations |Toolbox |
|000038b0| 0d 7b 54 68 69 73 20 63 | 68 61 70 74 65 72 20 69 |.{This c|hapter i|
|000038c0| 73 20 63 75 72 72 65 6e | 74 6c 79 20 61 76 61 69 |s curren|tly avai|
|000038d0| 6c 61 62 6c 65 20 69 6e | 20 49 6e 73 69 64 65 20 |lable in| Inside |
|000038e0| 4d 61 63 69 6e 74 6f 73 | 68 2c 20 56 6f 6c 75 6d |Macintos|h, Volum|
|000038f0| 65 20 56 49 2e 7d 0d 4c | 69 73 74 69 6e 67 20 31 |e VI.}.L|isting 1|
|00003900| 2d 30 0d 54 61 62 6c 65 | 20 31 2d 30 0d 49 6e 74 |-0.Table| 1-0.Int|
|00003910| 72 6f 64 75 63 74 69 6f | 6e 20 74 6f 20 49 6e 74 |roductio|n to Int|
|00003920| 65 72 61 70 70 6c 69 63 | 61 74 69 6f 6e 20 43 6f |erapplic|ation Co|
|00003930| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 0d 43 6f 6e 74 |mmunicat|ion.Cont|
|00003940| 65 6e 74 73 0d 4f 76 65 | 72 76 69 65 77 20 6f 66 |ents.Ove|rview of|
|00003950| 20 49 6e 74 65 72 61 70 | 70 6c 69 63 61 74 69 6f | Interap|plicatio|
|00003960| 6e 20 43 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 14 |n Commun|ication.|
|00003970| 14 31 2d 33 0d 53 68 61 | 72 69 6e 67 20 44 61 74 |.1-3.Sha|ring Dat|
|00003980| 61 20 41 6d 6f 6e 67 20 | 41 70 70 6c 69 63 61 74 |a Among |Applicat|
|00003990| 69 6f 6e 73 14 14 31 2d | 37 0d 53 65 6e 64 69 6e |ions..1-|7.Sendin|
|000039a0| 67 20 61 6e 64 20 52 65 | 73 70 6f 6e 64 69 6e 67 |g and Re|sponding|
|000039b0| 20 74 6f 20 41 70 70 6c | 65 20 45 76 65 6e 74 73 | to Appl|e Events|
|000039c0| 14 14 31 2d 39 0d 53 74 | 61 6e 64 61 72 64 20 41 |..1-9.St|andard A|
|000039d0| 70 70 6c 65 20 45 76 65 | 6e 74 73 14 14 31 2d 31 |pple Eve|nts..1-1|
|000039e0| 31 0d 48 61 6e 64 6c 69 | 6e 67 20 41 70 70 6c 65 |1.Handli|ng Apple|
|000039f0| 20 45 76 65 6e 74 73 14 | 14 31 2d 31 32 0d 53 75 | Events.|.1-12.Su|
|00003a00| 70 70 6f 72 74 69 6e 67 | 20 41 70 70 6c 65 53 63 |pporting| AppleSc|
|00003a10| 72 69 70 74 20 61 6e 64 | 20 4f 74 68 65 72 20 53 |ript and| Other S|
|00003a20| 63 72 69 70 74 69 6e 67 | 20 4c 61 6e 67 75 61 67 |cripting| Languag|
|00003a30| 65 73 14 14 31 2d 31 33 | 0d 53 63 72 69 70 74 61 |es..1-13|.Scripta|
|00003a40| 62 6c 65 20 41 70 70 6c | 69 63 61 74 69 6f 6e 73 |ble Appl|ications|
|00003a50| 14 14 31 2d 31 36 0d 52 | 65 63 6f 72 64 61 62 6c |..1-16.R|ecordabl|
|00003a60| 65 20 41 70 70 6c 69 63 | 61 74 69 6f 6e 73 14 14 |e Applic|ations..|
|00003a70| 31 2d 31 38 0d 41 70 70 | 6c 69 63 61 74 69 6f 6e |1-18.App|lication|
|00003a80| 73 20 54 68 61 74 20 4d | 61 6e 69 70 75 6c 61 74 |s That M|anipulat|
|00003a90| 65 20 61 6e 64 20 45 78 | 65 63 75 74 65 20 53 63 |e and Ex|ecute Sc|
|00003aa0| 72 69 70 74 73 14 14 31 | 2d 31 39 0d 45 78 63 68 |ripts..1|-19.Exch|
|00003ab0| 61 6e 67 69 6e 67 20 4d | 65 73 73 61 67 65 20 42 |anging M|essage B|
|00003ac0| 6c 6f 63 6b 73 14 14 31 | 2d 32 32 0d 49 6e 74 72 |locks..1|-22.Intr|
|00003ad0| 6f 64 75 63 74 69 6f 6e | 20 74 6f 20 49 6e 74 65 |oduction| to Inte|
|00003ae0| 72 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 43 6f 6d |rapplica|tion Com|
|00003af0| 6d 75 6e 69 63 61 74 69 | 6f 6e 0d 54 68 69 73 20 |municati|on.This |
|00003b00| 63 68 61 70 74 65 72 20 | 64 65 73 63 72 69 62 65 |chapter |describe|
|00003b10| 73 20 74 68 65 20 69 6e | 74 65 72 61 70 70 6c 69 |s the in|terappli|
|00003b20| 63 61 74 69 6f 6e 20 63 | 6f 6d 6d 75 6e 69 63 61 |cation c|ommunica|
|00003b30| 74 69 6f 6e 20 28 49 41 | 43 29 20 61 72 63 68 69 |tion (IA|C) archi|
|00003b40| 74 65 63 74 75 72 65 20 | 66 6f 72 20 4d 61 63 69 |tecture |for Maci|
|00003b50| 6e 74 6f 73 68 20 63 6f | 6d 70 75 74 65 72 73 2c |ntosh co|mputers,|
|00003b60| 20 73 75 6d 6d 61 72 69 | 7a 65 73 20 68 6f 77 20 | summari|zes how |
|00003b70| 79 6f 75 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |your app|lication|
|00003b80| 20 63 61 6e 20 74 61 6b | 65 20 61 64 76 61 6e 74 | can tak|e advant|
|00003b90| 61 67 65 20 6f 66 20 69 | 74 2c 20 61 6e 64 20 74 |age of i|t, and t|
|00003ba0| 65 6c 6c 73 20 79 6f 75 | 20 77 68 65 72 65 20 69 |ells you| where i|
|00003bb0| 6e 20 74 68 69 73 20 62 | 6f 6f 6b 20 74 6f 20 66 |n this b|ook to f|
|00003bc0| 69 6e 64 20 74 68 65 20 | 69 6e 66 6f 72 6d 61 74 |ind the |informat|
|00003bd0| 69 6f 6e 20 79 6f 75 20 | 6e 65 65 64 20 74 6f 20 |ion you |need to |
|00003be0| 70 65 72 66 6f 72 6d 20 | 73 70 65 63 69 66 69 63 |perform |specific|
|00003bf0| 20 74 61 73 6b 73 2e 0d | 54 68 65 20 41 70 70 6c | tasks..|The Appl|
|00003c00| 65 20 45 76 65 6e 74 20 | 4d 61 6e 61 67 65 72 2c |e Event |Manager,|
|00003c10| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 2c 20 | Event M|anager, |
|00003c20| 61 6e 64 20 50 72 6f 67 | 72 61 6d 2d 74 6f 2d 50 |and Prog|ram-to-P|
|00003c30| 72 6f 67 72 61 6d 20 43 | 6f 6d 6d 75 6e 69 63 61 |rogram C|ommunica|
|00003c40| 74 69 6f 6e 73 20 54 6f | 6f 6c 62 6f 78 20 75 6e |tions To|olbox un|
|00003c50| 64 65 72 6c 69 65 20 61 | 6c 6c 20 74 68 65 20 49 |derlie a|ll the I|
|00003c60| 41 43 20 74 61 73 6b 73 | 20 79 6f 75 72 20 61 70 |AC tasks| your ap|
|00003c70| 70 6c 69 63 61 74 69 6f | 6e 20 63 61 6e 20 70 65 |plicatio|n can pe|
|00003c80| 72 66 6f 72 6d 2e 20 54 | 68 69 73 20 63 68 61 70 |rform. T|his chap|
|00003c90| 74 65 72 20 69 6e 74 72 | 6f 64 75 63 65 73 20 74 |ter intr|oduces t|
|00003ca0| 68 65 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 4d |he Apple| Event M|
|00003cb0| 61 6e 61 67 65 72 20 61 | 6e 64 20 74 68 65 20 50 |anager a|nd the P|
|00003cc0| 72 6f 67 72 61 6d 2d 74 | 6f 2d 50 72 6f 67 72 61 |rogram-t|o-Progra|
|00003cd0| 6d 20 43 6f 6d 6d 75 6e | 69 63 61 74 69 6f 6e 73 |m Commun|ications|
|00003ce0| 20 54 6f 6f 6c 62 6f 78 | 2e 20 46 6f 72 20 69 6e | Toolbox|. For in|
|00003cf0| 66 6f 72 6d 61 74 69 6f | 6e 20 61 62 6f 75 74 20 |formatio|n about |
|00003d00| 74 68 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |the Even|t Manage|
|00003d10| 72 2c 20 73 65 65 20 49 | 6e 73 69 64 65 20 4d 61 |r, see I|nside Ma|
|00003d20| 63 69 6e 74 6f 73 68 3a | 20 4d 61 63 69 6e 74 6f |cintosh:| Macinto|
|00003d30| 73 68 20 54 6f 6f 6c 62 | 6f 78 20 45 73 73 65 6e |sh Toolb|ox Essen|
|00003d40| 74 69 61 6c 73 2e 20 46 | 6f 72 20 64 65 66 69 6e |tials. F|or defin|
|00003d50| 69 74 69 6f 6e 73 20 6f | 66 20 74 68 65 20 73 74 |itions o|f the st|
|00003d60| 61 6e 64 61 72 64 20 41 | 70 70 6c 65 20 65 76 65 |andard A|pple eve|
|00003d70| 6e 74 73 20 61 76 61 69 | 6c 61 62 6c 65 20 66 6f |nts avai|lable fo|
|00003d80| 72 20 75 73 65 20 62 79 | 20 61 6c 6c 20 61 70 70 |r use by| all app|
|00003d90| 6c 69 63 61 74 69 6f 6e | 73 2c 20 73 65 65 20 74 |lication|s, see t|
|00003da0| 68 65 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 52 |he Apple| Event R|
|00003db0| 65 67 69 73 74 72 79 3a | 20 53 74 61 6e 64 61 72 |egistry:| Standar|
|00003dc0| 64 20 53 75 69 74 65 73 | 2e 0d 54 68 65 20 49 41 |d Suites|..The IA|
|00003dd0| 43 20 61 72 63 68 69 74 | 65 63 74 75 72 65 20 69 |C archit|ecture i|
|00003de0| 6e 63 6c 75 64 65 73 20 | 74 68 65 20 4f 70 65 6e |ncludes |the Open|
|00003df0| 20 53 63 72 69 70 74 69 | 6e 67 20 41 72 63 68 69 | Scripti|ng Archi|
|00003e00| 74 65 63 74 75 72 65 20 | 28 4f 53 41 29 2e 20 54 |tecture |(OSA). T|
|00003e10| 68 65 20 4f 53 41 20 70 | 72 6f 76 69 64 65 73 20 |he OSA p|rovides |
|00003e20| 61 20 6d 65 63 68 61 6e | 69 73 6d 20 74 68 61 74 |a mechan|ism that|
|00003e30| 20 61 6c 6c 6f 77 73 20 | 75 73 65 72 73 20 74 6f | allows |users to|
|00003e40| 20 63 6f 6e 74 72 6f 6c | 20 6d 75 6c 74 69 70 6c | control| multipl|
|00003e50| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 62 |e applic|ations b|
|00003e60| 79 20 6d 65 61 6e 73 20 | 6f 66 20 73 63 72 69 70 |y means |of scrip|
|00003e70| 74 73 2c 20 6f 72 20 73 | 65 74 73 20 6f 66 20 69 |ts, or s|ets of i|
|00003e80| 6e 73 74 72 75 63 74 69 | 6f 6e 73 2c 20 77 72 69 |nstructi|ons, wri|
|00003e90| 74 74 65 6e 20 69 6e 20 | 61 20 76 61 72 69 65 74 |tten in |a variet|
|00003ea0| 79 20 6f 66 20 73 63 72 | 69 70 74 69 6e 67 20 6c |y of scr|ipting l|
|00003eb0| 61 6e 67 75 61 67 65 73 | 2e 20 45 61 63 68 20 73 |anguages|. Each s|
|00003ec0| 63 72 69 70 74 69 6e 67 | 20 6c 61 6e 67 75 61 67 |cripting| languag|
|00003ed0| 65 20 68 61 73 20 61 20 | 63 6f 72 72 65 73 70 6f |e has a |correspo|
|00003ee0| 6e 64 69 6e 67 20 73 63 | 72 69 70 74 69 6e 67 20 |nding sc|ripting |
|00003ef0| 63 6f 6d 70 6f 6e 65 6e | 74 20 74 68 61 74 20 69 |componen|t that i|
|00003f00| 73 20 6d 61 6e 61 67 65 | 64 20 62 79 20 74 68 65 |s manage|d by the|
|00003f10| 20 43 6f 6d 70 6f 6e 65 | 6e 74 20 4d 61 6e 61 67 | Compone|nt Manag|
|00003f20| 65 72 2e 20 57 68 65 6e | 20 61 20 75 73 65 72 20 |er. When| a user |
|00003f30| 65 78 65 63 75 74 65 73 | 20 61 20 73 63 72 69 70 |executes| a scrip|
|00003f40| 74 2c 20 74 68 65 20 73 | 63 72 69 70 74 69 6e 67 |t, the s|cripting|
|00003f50| 20 63 6f 6d 70 6f 6e 65 | 6e 74 20 73 65 6e 64 73 | compone|nt sends|
|00003f60| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 73 20 74 6f | Apple e|vents to|
|00003f70| 20 6f 6e 65 20 6f 72 20 | 6d 6f 72 65 20 61 70 70 | one or |more app|
|00003f80| 6c 69 63 61 74 69 6f 6e | 73 20 74 6f 20 70 65 72 |lication|s to per|
|00003f90| 66 6f 72 6d 20 74 68 65 | 20 61 63 74 69 6f 6e 73 |form the| actions|
|00003fa0| 20 74 68 65 20 73 63 72 | 69 70 74 20 64 65 73 63 | the scr|ipt desc|
|00003fb0| 72 69 62 65 73 2e 0d 54 | 68 69 73 20 63 68 61 70 |ribes..T|his chap|
|00003fc0| 74 65 72 20 69 6e 74 72 | 6f 64 75 63 65 73 20 74 |ter intr|oduces t|
|00003fd0| 68 65 20 4f 53 41 2c 20 | 69 6e 63 6c 75 64 69 6e |he OSA, |includin|
|00003fe0| 67 20 68 6f 77 20 74 6f | 20 6d 61 6b 65 20 79 6f |g how to| make yo|
|00003ff0| 75 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 73 |ur appli|cation s|
|00004000| 63 72 69 70 74 61 62 6c | 65 2c 20 6f 72 20 63 61 |criptabl|e, or ca|
|00004010| 70 61 62 6c 65 20 6f 66 | 20 72 65 73 70 6f 6e 64 |pable of| respond|
|00004020| 69 6e 67 20 74 6f 20 41 | 70 70 6c 65 20 65 76 65 |ing to A|pple eve|
|00004030| 6e 74 73 20 73 65 6e 74 | 20 74 6f 20 69 74 20 62 |nts sent| to it b|
|00004040| 79 20 61 20 73 63 72 69 | 70 74 69 6e 67 20 63 6f |y a scri|pting co|
|00004050| 6d 70 6f 6e 65 6e 74 2e | 20 46 6f 72 20 6d 6f 72 |mponent.| For mor|
|00004060| 65 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 61 62 |e inform|ation ab|
|00004070| 6f 75 74 20 75 73 69 6e | 67 20 74 68 65 20 43 6f |out usin|g the Co|
|00004080| 6d 70 6f 6e 65 6e 74 20 | 4d 61 6e 61 67 65 72 2c |mponent |Manager,|
|00004090| 20 73 65 65 20 49 6e 73 | 69 64 65 20 4d 61 63 69 | see Ins|ide Maci|
|000040a0| 6e 74 6f 73 68 3a 20 4d | 6f 72 65 20 4d 61 63 69 |ntosh: M|ore Maci|
|000040b0| 6e 74 6f 73 68 20 54 6f | 6f 6c 62 6f 78 2e 0d 4f |ntosh To|olbox..O|
|000040c0| 76 65 72 76 69 65 77 20 | 6f 66 20 49 6e 74 65 72 |verview |of Inter|
|000040d0| 61 70 70 6c 69 63 61 74 | 69 6f 6e 20 43 6f 6d 6d |applicat|ion Comm|
|000040e0| 75 6e 69 63 61 74 69 6f | 6e 0d 54 68 65 20 69 6e |unicatio|n.The in|
|000040f0| 74 65 72 61 70 70 6c 69 | 63 61 74 69 6f 6e 20 63 |terappli|cation c|
|00004100| 6f 6d 6d 75 6e 69 63 61 | 74 69 6f 6e 20 28 49 41 |ommunica|tion (IA|
|00004110| 43 29 20 61 72 63 68 69 | 74 65 63 74 75 72 65 20 |C) archi|tecture |
|00004120| 70 72 6f 76 69 64 65 73 | 20 61 20 73 74 61 6e 64 |provides| a stand|
|00004130| 61 72 64 20 61 6e 64 20 | 65 78 74 65 6e 73 69 62 |ard and |extensib|
|00004140| 6c 65 20 6d 65 63 68 61 | 6e 69 73 6d 20 66 6f 72 |le mecha|nism for|
|00004150| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 20 61 | communi|cation a|
|00004160| 6d 6f 6e 67 20 4d 61 63 | 69 6e 74 6f 73 68 20 61 |mong Mac|intosh a|
|00004170| 70 70 6c 69 63 61 74 69 | 6f 6e 73 2e 20 54 68 65 |pplicati|ons. The|
|00004180| 20 49 41 43 20 61 72 63 | 68 69 74 65 63 74 75 72 | IAC arc|hitectur|
|00004190| 65 20 6d 61 6b 65 73 20 | 69 74 20 70 6f 73 73 69 |e makes |it possi|
|000041a0| 62 6c 65 20 66 6f 72 20 | 79 6f 75 72 20 61 70 70 |ble for |your app|
|000041b0| 6c 69 63 61 74 69 6f 6e | 20 74 6f 0d 6e 09 70 72 |lication| to.n.pr|
|000041c0| 6f 76 69 64 65 20 61 75 | 74 6f 6d 61 74 65 64 20 |ovide au|tomated |
|000041d0| 63 6f 70 79 20 61 6e 64 | 20 70 61 73 74 65 20 6f |copy and| paste o|
|000041e0| 70 65 72 61 74 69 6f 6e | 73 20 62 65 74 77 65 65 |peration|s betwee|
|000041f0| 6e 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |n your a|pplicati|
|00004200| 6f 6e 20 61 6e 64 20 6f | 74 68 65 72 20 61 70 70 |on and o|ther app|
|00004210| 6c 69 63 61 74 69 6f 6e | 73 0d 6e 09 61 6c 6c 6f |lication|s.n.allo|
|00004220| 77 20 75 73 65 72 73 20 | 74 6f 20 63 6f 6e 74 72 |w users |to contr|
|00004230| 6f 6c 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |ol your |applicat|
|00004240| 69 6f 6e 20 62 79 20 6d | 65 61 6e 73 20 6f 66 20 |ion by m|eans of |
|00004250| 73 63 72 69 70 74 73 0d | 6e 09 73 65 6e 64 20 61 |scripts.|n.send a|
|00004260| 6e 64 20 72 65 73 70 6f | 6e 64 20 74 6f 20 41 70 |nd respo|nd to Ap|
|00004270| 70 6c 65 20 65 76 65 6e | 74 73 0d 6e 09 73 65 6e |ple even|ts.n.sen|
|00004280| 64 20 61 6e 64 20 72 65 | 73 70 6f 6e 64 20 74 6f |d and re|spond to|
|00004290| 20 68 69 67 68 2d 6c 65 | 76 65 6c 20 65 76 65 6e | high-le|vel even|
|000042a0| 74 73 20 6f 74 68 65 72 | 20 74 68 61 6e 20 41 70 |ts other| than Ap|
|000042b0| 70 6c 65 20 65 76 65 6e | 74 73 0d 6e 09 72 65 61 |ple even|ts.n.rea|
|000042c0| 64 20 61 6e 64 20 77 72 | 69 74 65 20 62 6c 6f 63 |d and wr|ite bloc|
|000042d0| 6b 73 20 6f 66 20 64 61 | 74 61 20 62 65 74 77 65 |ks of da|ta betwe|
|000042e0| 65 6e 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 0d |en appli|cations.|
|000042f0| 54 68 65 20 63 68 61 70 | 74 65 72 20 d2 45 76 65 |The chap|ter .Eve|
|00004300| 6e 74 20 4d 61 6e 61 67 | 65 72 d3 20 69 6e 20 49 |nt Manag|er. in I|
|00004310| 6e 73 69 64 65 20 4d 61 | 63 69 6e 74 6f 73 68 3a |nside Ma|cintosh:|
|00004320| 20 4d 61 63 69 6e 74 6f | 73 68 20 54 6f 6f 6c 62 | Macinto|sh Toolb|
|00004330| 6f 78 20 45 73 73 65 6e | 74 69 61 6c 73 20 64 65 |ox Essen|tials de|
|00004340| 73 63 72 69 62 65 73 20 | 68 6f 77 20 79 6f 75 72 |scribes |how your|
|00004350| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 63 61 6e | applica|tion can|
|00004360| 20 75 73 65 20 45 76 65 | 6e 74 20 4d 61 6e 61 67 | use Eve|nt Manag|
|00004370| 65 72 20 72 6f 75 74 69 | 6e 65 73 20 74 6f 20 73 |er routi|nes to s|
|00004380| 65 6e 64 20 61 6e 64 20 | 72 65 73 70 6f 6e 64 20 |end and |respond |
|00004390| 74 6f 20 68 69 67 68 2d | 6c 65 76 65 6c 20 65 76 |to high-|level ev|
|000043a0| 65 6e 74 73 2e 20 48 69 | 67 68 2d 6c 65 76 65 6c |ents. Hi|gh-level|
|000043b0| 20 65 76 65 6e 74 73 20 | 6e 65 65 64 20 6e 6f 74 | events |need not|
|000043c0| 20 61 64 68 65 72 65 20 | 74 6f 20 61 6e 79 20 73 | adhere |to any s|
|000043d0| 70 65 63 69 66 69 63 20 | 70 72 6f 74 6f 63 6f 6c |pecific |protocol|
|000043e0| 2c 20 73 6f 20 74 68 65 | 69 72 20 69 6e 74 65 72 |, so the|ir inter|
|000043f0| 70 72 65 74 61 74 69 6f | 6e 20 69 73 20 64 65 66 |pretatio|n is def|
|00004400| 69 6e 65 64 20 62 79 20 | 65 61 63 68 20 61 70 70 |ined by |each app|
|00004410| 6c 69 63 61 74 69 6f 6e | 20 74 68 61 74 20 73 65 |lication| that se|
|00004420| 6e 64 73 20 6f 72 20 72 | 65 63 65 69 76 65 73 20 |nds or r|eceives |
|00004430| 74 68 65 6d 2e 20 0d 54 | 68 65 20 6d 6f 73 74 20 |them. .T|he most |
|00004440| 69 6d 70 6f 72 74 61 6e | 74 20 72 65 71 75 69 72 |importan|t requir|
|00004450| 65 6d 65 6e 74 20 66 6f | 72 20 68 69 67 68 2d 6c |ement fo|r high-l|
|00004460| 65 76 65 6c 20 63 6f 6d | 6d 75 6e 69 63 61 74 69 |evel com|municati|
|00004470| 6f 6e 20 61 6d 6f 6e 67 | 20 61 6c 6c 20 61 70 70 |on among| all app|
|00004480| 6c 69 63 61 74 69 6f 6e | 73 20 69 73 20 61 20 63 |lication|s is a c|
|00004490| 6f 6d 6d 6f 6e 20 76 6f | 63 61 62 75 6c 61 72 79 |ommon vo|cabulary|
|000044a0| 20 6f 66 20 65 76 65 6e | 74 73 2e 20 54 6f 20 70 | of even|ts. To p|
|000044b0| 72 6f 76 69 64 65 20 73 | 75 63 68 20 61 20 73 74 |rovide s|uch a st|
|000044c0| 61 6e 64 61 72 64 2c 20 | 41 70 70 6c 65 20 43 6f |andard, |Apple Co|
|000044d0| 6d 70 75 74 65 72 2c 20 | 49 6e 63 2e 2c 20 68 61 |mputer, |Inc., ha|
|000044e0| 73 20 64 65 66 69 6e 65 | 64 20 61 20 70 72 6f 74 |s define|d a prot|
|000044f0| 6f 63 6f 6c 20 63 61 6c | 6c 65 64 20 74 68 65 20 |ocol cal|led the |
|00004500| 41 70 70 6c 65 20 45 76 | 65 6e 74 20 49 6e 74 65 |Apple Ev|ent Inte|
|00004510| 72 70 72 6f 63 65 73 73 | 20 4d 65 73 73 61 67 69 |rprocess| Messagi|
|00004520| 6e 67 20 50 72 6f 74 6f | 63 6f 6c 20 28 41 45 49 |ng Proto|col (AEI|
|00004530| 4d 50 29 2e 20 48 69 67 | 68 2d 6c 65 76 65 6c 20 |MP). Hig|h-level |
|00004540| 65 76 65 6e 74 73 20 74 | 68 61 74 20 63 6f 6e 66 |events t|hat conf|
|00004550| 6f 72 6d 20 74 6f 20 74 | 68 69 73 20 70 72 6f 74 |orm to t|his prot|
|00004560| 6f 63 6f 6c 20 61 72 65 | 20 63 61 6c 6c 65 64 20 |ocol are| called |
|00004570| 41 70 70 6c 65 20 65 76 | 65 6e 74 73 2e 20 0d 54 |Apple ev|ents. .T|
|00004580| 68 65 20 76 6f 63 61 62 | 75 6c 61 72 79 20 6f 66 |he vocab|ulary of|
|00004590| 20 70 75 62 6c 69 63 6c | 79 20 61 76 61 69 6c 61 | publicl|y availa|
|000045a0| 62 6c 65 20 41 70 70 6c | 65 20 65 76 65 6e 74 73 |ble Appl|e events|
|000045b0| 20 69 73 20 70 75 62 6c | 69 73 68 65 64 20 69 6e | is publ|ished in|
|000045c0| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 20 52 65 67 | Apple E|vent Reg|
|000045d0| 69 73 74 72 79 3a 20 53 | 74 61 6e 64 61 72 64 20 |istry: S|tandard |
|000045e0| 53 75 69 74 65 73 2c 20 | 77 68 69 63 68 20 64 65 |Suites, |which de|
|000045f0| 66 69 6e 65 73 20 74 68 | 65 20 73 74 61 6e 64 61 |fines th|e standa|
|00004600| 72 64 20 41 70 70 6c 65 | 20 65 76 65 6e 74 73 20 |rd Apple| events |
|00004610| 74 68 61 74 20 64 65 76 | 65 6c 6f 70 65 72 73 20 |that dev|elopers |
|00004620| 61 6e 64 20 41 70 70 6c | 65 20 68 61 76 65 20 77 |and Appl|e have w|
|00004630| 6f 72 6b 65 64 20 6f 75 | 74 20 66 6f 72 20 75 73 |orked ou|t for us|
|00004640| 65 20 62 79 20 61 6c 6c | 20 61 70 70 6c 69 63 61 |e by all| applica|
|00004650| 74 69 6f 6e 73 2e 20 54 | 6f 20 65 6e 73 75 72 65 |tions. T|o ensure|
|00004660| 20 74 68 61 74 20 79 6f | 75 72 20 61 70 70 6c 69 | that yo|ur appli|
|00004670| 63 61 74 69 6f 6e 20 63 | 61 6e 20 63 6f 6d 6d 75 |cation c|an commu|
|00004680| 6e 69 63 61 74 65 20 61 | 74 20 61 20 68 69 67 68 |nicate a|t a high|
|00004690| 20 6c 65 76 65 6c 20 77 | 69 74 68 20 6f 74 68 65 | level w|ith othe|
|000046a0| 72 20 4d 61 63 69 6e 74 | 6f 73 68 20 61 70 70 6c |r Macint|osh appl|
|000046b0| 69 63 61 74 69 6f 6e 73 | 20 6e 6f 77 20 61 6e 64 |ications| now and|
|000046c0| 20 69 6e 20 74 68 65 20 | 66 75 74 75 72 65 2c 20 | in the |future, |
|000046d0| 79 6f 75 20 73 68 6f 75 | 6c 64 20 73 75 70 70 6f |you shou|ld suppo|
|000046e0| 72 74 20 74 68 65 20 73 | 74 61 6e 64 61 72 64 20 |rt the s|tandard |
|000046f0| 41 70 70 6c 65 20 65 76 | 65 6e 74 73 20 74 68 61 |Apple ev|ents tha|
|00004700| 74 20 61 72 65 20 61 70 | 70 72 6f 70 72 69 61 74 |t are ap|propriat|
|00004710| 65 20 66 6f 72 20 79 6f | 75 72 20 61 70 70 6c 69 |e for yo|ur appli|
|00004720| 63 61 74 69 6f 6e 2e 20 | 0d 45 66 66 65 63 74 69 |cation. |.Effecti|
|00004730| 76 65 20 49 41 43 20 72 | 65 71 75 69 72 65 73 20 |ve IAC r|equires |
|00004740| 63 6c 6f 73 65 20 63 6f | 6f 70 65 72 61 74 69 6f |close co|operatio|
|00004750| 6e 20 61 6d 6f 6e 67 20 | 61 70 70 6c 69 63 61 74 |n among |applicat|
|00004760| 69 6f 6e 73 20 61 74 20 | 73 65 76 65 72 61 6c 20 |ions at |several |
|00004770| 6c 65 76 65 6c 73 2e 20 | 49 6e 20 61 64 64 69 74 |levels. |In addit|
|00004780| 69 6f 6e 20 74 6f 20 74 | 68 65 20 66 6f 72 6d 61 |ion to t|he forma|
|00004790| 74 20 66 6f 72 20 68 69 | 67 68 2d 6c 65 76 65 6c |t for hi|gh-level|
|000047a0| 20 65 76 65 6e 74 73 20 | 61 6e 64 20 74 68 65 20 | events |and the |
|000047b0| 73 74 61 6e 64 61 72 64 | 20 76 6f 63 61 62 75 6c |standard| vocabul|
|000047c0| 61 72 79 20 6f 66 20 41 | 70 70 6c 65 20 65 76 65 |ary of A|pple eve|
|000047d0| 6e 74 73 2c 20 41 70 70 | 6c 65 20 68 61 73 20 64 |nts, App|le has d|
|000047e0| 65 66 69 6e 65 64 20 73 | 65 76 65 72 61 6c 20 6f |efined s|everal o|
|000047f0| 74 68 65 72 20 73 74 61 | 6e 64 61 72 64 73 20 79 |ther sta|ndards y|
|00004800| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00004810| 63 61 6e 20 75 73 65 20 | 74 6f 20 63 6f 6d 6d 75 |can use |to commu|
|00004820| 6e 69 63 61 74 65 20 77 | 69 74 68 20 6f 74 68 65 |nicate w|ith othe|
|00004830| 72 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 2e 20 |r applic|ations. |
|00004840| 54 68 65 73 65 20 69 6e | 63 6c 75 64 65 20 73 74 |These in|clude st|
|00004850| 61 6e 64 61 72 64 20 6d | 65 74 68 6f 64 73 20 66 |andard m|ethods f|
|00004860| 6f 72 20 64 65 61 6c 69 | 6e 67 20 77 69 74 68 20 |or deali|ng with |
|00004870| 73 68 61 72 65 64 20 64 | 79 6e 61 6d 69 63 20 64 |shared d|ynamic d|
|00004880| 61 74 61 2c 20 73 63 72 | 69 70 74 73 2c 20 61 6e |ata, scr|ipts, an|
|00004890| 64 20 6c 6f 77 2d 6c 65 | 76 65 6c 20 6d 65 73 73 |d low-le|vel mess|
|000048a0| 61 67 65 20 62 6c 6f 63 | 6b 73 2e 20 0d 54 68 65 |age bloc|ks. .The|
|000048b0| 20 49 41 43 20 61 72 63 | 68 69 74 65 63 74 75 72 | IAC arc|hitectur|
|000048c0| 65 20 63 6f 6d 70 72 69 | 73 65 73 20 74 68 65 20 |e compri|ses the |
|000048d0| 66 6f 6c 6c 6f 77 69 6e | 67 20 70 61 72 74 73 3a |followin|g parts:|
|000048e0| 20 0d 6e 09 54 68 65 20 | 45 64 69 74 69 6f 6e 20 | .n.The |Edition |
|000048f0| 4d 61 6e 61 67 65 72 20 | 61 6c 6c 6f 77 73 20 61 |Manager |allows a|
|00004900| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 74 6f 20 61 |pplicati|ons to a|
|00004910| 75 74 6f 6d 61 74 65 20 | 63 6f 70 79 20 61 6e 64 |utomate |copy and|
|00004920| 20 70 61 73 74 65 20 6f | 70 65 72 61 74 69 6f 6e | paste o|peration|
|00004930| 73 20 62 65 74 77 65 65 | 6e 20 61 70 70 6c 69 63 |s betwee|n applic|
|00004940| 61 74 69 6f 6e 73 2c 20 | 73 6f 20 74 68 61 74 20 |ations, |so that |
|00004950| 64 61 74 61 20 63 61 6e | 20 62 65 20 73 68 61 72 |data can| be shar|
|00004960| 65 64 20 64 79 6e 61 6d | 69 63 61 6c 6c 79 2e 0d |ed dynam|ically..|
|00004970| 6e 09 54 68 65 20 4f 70 | 65 6e 20 53 63 72 69 70 |n.The Op|en Scrip|
|00004980| 74 69 6e 67 20 41 72 63 | 68 69 74 65 63 74 75 72 |ting Arc|hitectur|
|00004990| 65 20 28 4f 53 41 29 20 | 70 72 6f 76 69 64 65 73 |e (OSA) |provides|
|000049a0| 20 61 20 73 74 61 6e 64 | 61 72 64 20 6d 65 63 68 | a stand|ard mech|
|000049b0| 61 6e 69 73 6d 2c 20 62 | 61 73 65 64 20 6f 6e 20 |anism, b|ased on |
|000049c0| 74 68 65 20 41 70 70 6c | 65 20 45 76 65 6e 74 20 |the Appl|e Event |
|000049d0| 4d 61 6e 61 67 65 72 2c | 20 74 68 61 74 20 61 6c |Manager,| that al|
|000049e0| 6c 6f 77 73 20 75 73 65 | 72 73 20 74 6f 20 63 6f |lows use|rs to co|
|000049f0| 6e 74 72 6f 6c 20 6d 75 | 6c 74 69 70 6c 65 20 61 |ntrol mu|ltiple a|
|00004a00| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 62 79 20 6d |pplicati|ons by m|
|00004a10| 65 61 6e 73 20 6f 66 20 | 73 63 72 69 70 74 73 20 |eans of |scripts |
|00004a20| 77 72 69 74 74 65 6e 20 | 69 6e 20 61 20 76 61 72 |written |in a var|
|00004a30| 69 65 74 79 20 6f 66 20 | 73 63 72 69 70 74 69 6e |iety of |scriptin|
|00004a40| 67 20 6c 61 6e 67 75 61 | 67 65 73 2e 0d 6e 09 54 |g langua|ges..n.T|
|00004a50| 68 65 20 41 70 70 6c 65 | 20 45 76 65 6e 74 20 4d |he Apple| Event M|
|00004a60| 61 6e 61 67 65 72 20 61 | 6c 6c 6f 77 73 20 61 70 |anager a|llows ap|
|00004a70| 70 6c 69 63 61 74 69 6f | 6e 73 20 74 6f 20 73 65 |plicatio|ns to se|
|00004a80| 6e 64 20 61 6e 64 20 72 | 65 73 70 6f 6e 64 20 74 |nd and r|espond t|
|00004a90| 6f 20 41 70 70 6c 65 20 | 65 76 65 6e 74 73 2e 0d |o Apple |events..|
|00004aa0| 6e 09 54 68 65 20 45 76 | 65 6e 74 20 4d 61 6e 61 |n.The Ev|ent Mana|
|00004ab0| 67 65 72 20 61 6c 6c 6f | 77 73 20 61 70 70 6c 69 |ger allo|ws appli|
|00004ac0| 63 61 74 69 6f 6e 73 20 | 74 6f 20 73 65 6e 64 20 |cations |to send |
|00004ad0| 61 6e 64 20 72 65 73 70 | 6f 6e 64 20 74 6f 20 68 |and resp|ond to h|
|00004ae0| 69 67 68 2d 6c 65 76 65 | 6c 20 65 76 65 6e 74 73 |igh-leve|l events|
|00004af0| 20 6f 74 68 65 72 20 74 | 68 61 6e 20 41 70 70 6c | other t|han Appl|
|00004b00| 65 20 65 76 65 6e 74 73 | 2e 0d 6e 09 54 68 65 20 |e events|..n.The |
|00004b10| 50 72 6f 67 72 61 6d 2d | 74 6f 2d 50 72 6f 67 72 |Program-|to-Progr|
|00004b20| 61 6d 20 43 6f 6d 6d 75 | 6e 69 63 61 74 69 6f 6e |am Commu|nication|
|00004b30| 73 20 28 50 50 43 29 20 | 54 6f 6f 6c 62 6f 78 20 |s (PPC) |Toolbox |
|00004b40| 61 6c 6c 6f 77 73 20 61 | 70 70 6c 69 63 61 74 69 |allows a|pplicati|
|00004b50| 6f 6e 73 20 74 6f 20 65 | 78 63 68 61 6e 67 65 20 |ons to e|xchange |
|00004b60| 62 6c 6f 63 6b 73 20 6f | 66 20 64 61 74 61 20 77 |blocks o|f data w|
|00004b70| 69 74 68 20 65 61 63 68 | 20 6f 74 68 65 72 20 62 |ith each| other b|
|00004b80| 79 20 72 65 61 64 69 6e | 67 20 61 6e 64 20 77 72 |y readin|g and wr|
|00004b90| 69 74 69 6e 67 20 6c 6f | 77 2d 6c 65 76 65 6c 20 |iting lo|w-level |
|00004ba0| 6d 65 73 73 61 67 65 20 | 62 6c 6f 63 6b 73 2e 20 |message |blocks. |
|00004bb0| 49 74 20 61 6c 73 6f 20 | 70 72 6f 76 69 64 65 73 |It also |provides|
|00004bc0| 20 61 20 73 74 61 6e 64 | 61 72 64 20 75 73 65 72 | a stand|ard user|
|00004bd0| 20 69 6e 74 65 72 66 61 | 63 65 20 74 68 61 74 20 | interfa|ce that |
|00004be0| 61 6c 6c 6f 77 73 20 61 | 20 75 73 65 72 20 77 6f |allows a| user wo|
|00004bf0| 72 6b 69 6e 67 20 69 6e | 20 6f 6e 65 20 61 70 70 |rking in| one app|
|00004c00| 6c 69 63 61 74 69 6f 6e | 20 74 6f 20 73 65 6c 65 |lication| to sele|
|00004c10| 63 74 20 61 6e 6f 74 68 | 65 72 20 61 70 70 6c 69 |ct anoth|er appli|
|00004c20| 63 61 74 69 6f 6e 20 77 | 69 74 68 20 77 68 69 63 |cation w|ith whic|
|00004c30| 68 20 74 6f 20 65 78 63 | 68 61 6e 67 65 20 64 61 |h to exc|hange da|
|00004c40| 74 61 2e 0d 46 69 67 75 | 72 65 20 31 2d 31 20 73 |ta..Figu|re 1-1 s|
|00004c50| 68 6f 77 73 20 74 68 65 | 20 70 72 69 6d 61 72 79 |hows the| primary|
|00004c60| 20 72 65 6c 61 74 69 6f | 6e 73 68 69 70 73 20 61 | relatio|nships a|
|00004c70| 6d 6f 6e 67 20 74 68 65 | 73 65 20 70 61 72 74 73 |mong the|se parts|
|00004c80| 2e 20 54 68 65 20 6d 61 | 6e 61 67 65 72 73 20 61 |. The ma|nagers a|
|00004c90| 6e 64 20 63 6f 6d 70 6f | 6e 65 6e 74 73 20 74 6f |nd compo|nents to|
|00004ca0| 77 61 72 64 20 74 68 65 | 20 74 6f 70 20 6f 66 20 |ward the| top of |
|00004cb0| 74 68 65 20 66 69 67 75 | 72 65 20 72 65 6c 79 20 |the figu|re rely |
|00004cc0| 6f 6e 20 74 68 65 20 6d | 61 6e 61 67 65 72 73 20 |on the m|anagers |
|00004cd0| 62 65 6e 65 61 74 68 20 | 74 68 65 6d 2e 20 54 68 |beneath |them. Th|
|00004ce0| 65 20 45 64 69 74 69 6f | 6e 20 4d 61 6e 61 67 65 |e Editio|n Manage|
|00004cf0| 72 20 75 73 65 73 20 74 | 68 65 20 73 65 72 76 69 |r uses t|he servi|
|00004d00| 63 65 73 20 6f 66 20 74 | 68 65 20 41 70 70 6c 65 |ces of t|he Apple|
|00004d10| 20 45 76 65 6e 74 20 4d | 61 6e 61 67 65 72 20 74 | Event M|anager t|
|00004d20| 6f 20 73 75 70 70 6f 72 | 74 20 64 79 6e 61 6d 69 |o suppor|t dynami|
|00004d30| 63 20 64 61 74 61 20 73 | 68 61 72 69 6e 67 2e 20 |c data s|haring. |
|00004d40| 53 63 72 69 70 74 69 6e | 67 20 63 6f 6d 70 6f 6e |Scriptin|g compon|
|00004d50| 65 6e 74 73 20 6d 61 6e | 69 70 75 6c 61 74 65 20 |ents man|ipulate |
|00004d60| 61 6e 64 20 65 78 65 63 | 75 74 65 20 73 63 72 69 |and exec|ute scri|
|00004d70| 70 74 73 20 77 69 74 68 | 20 74 68 65 20 61 69 64 |pts with| the aid|
|00004d80| 20 6f 66 20 74 68 65 20 | 41 70 70 6c 65 20 45 76 | of the |Apple Ev|
|00004d90| 65 6e 74 20 4d 61 6e 61 | 67 65 72 2e 20 54 68 65 |ent Mana|ger. The|
|00004da0| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 20 4d 61 6e | Apple E|vent Man|
|00004db0| 61 67 65 72 20 69 6e 20 | 74 75 72 6e 20 72 65 6c |ager in |turn rel|
|00004dc0| 69 65 73 20 6f 6e 20 74 | 68 65 20 45 76 65 6e 74 |ies on t|he Event|
|00004dd0| 20 4d 61 6e 61 67 65 72 | 20 74 6f 20 73 65 6e 64 | Manager| to send|
|00004de0| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 73 20 61 73 | Apple e|vents as|
|00004df0| 20 68 69 67 68 2d 6c 65 | 76 65 6c 20 65 76 65 6e | high-le|vel even|
|00004e00| 74 73 2c 20 61 6e 64 20 | 74 68 65 20 45 76 65 6e |ts, and |the Even|
|00004e10| 74 20 4d 61 6e 61 67 65 | 72 20 75 73 65 73 20 74 |t Manage|r uses t|
|00004e20| 68 65 20 73 65 72 76 69 | 63 65 73 20 6f 66 20 74 |he servi|ces of t|
|00004e30| 68 65 20 50 50 43 20 54 | 6f 6f 6c 62 6f 78 2e 20 |he PPC T|oolbox. |
|00004e40| 0d 46 69 67 75 72 65 20 | 31 2d 31 09 50 72 69 6e |.Figure |1-1.Prin|
|00004e50| 63 69 70 61 6c 20 6d 65 | 74 68 6f 64 73 20 6f 66 |cipal me|thods of|
|00004e60| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 20 62 | communi|cation b|
|00004e70| 65 74 77 65 65 6e 20 61 | 70 70 6c 69 63 61 74 69 |etween a|pplicati|
|00004e80| 6f 6e 73 20 0d 46 69 67 | 75 72 65 20 31 2d 31 20 |ons .Fig|ure 1-1 |
|00004e90| 61 6c 73 6f 20 73 68 6f | 77 73 20 74 68 65 20 66 |also sho|ws the f|
|00004ea0| 69 76 65 20 70 72 69 6e | 63 69 70 61 6c 20 6d 65 |ive prin|cipal me|
|00004eb0| 61 6e 73 20 6f 66 20 63 | 6f 6d 6d 75 6e 69 63 61 |ans of c|ommunica|
|00004ec0| 74 69 6f 6e 20 70 72 6f | 76 69 64 65 64 20 62 79 |tion pro|vided by|
|00004ed0| 20 74 68 65 20 49 41 43 | 20 61 72 63 68 69 74 65 | the IAC| archite|
|00004ee0| 63 74 75 72 65 2e 20 49 | 6e 20 61 64 64 69 74 69 |cture. I|n additi|
|00004ef0| 6f 6e 20 74 6f 20 75 73 | 69 6e 67 20 74 68 65 20 |on to us|ing the |
|00004f00| 45 64 69 74 69 6f 6e 20 | 4d 61 6e 61 67 65 72 20 |Edition |Manager |
|00004f10| 61 6e 64 20 73 63 72 69 | 70 74 69 6e 67 20 63 6f |and scri|pting co|
|00004f20| 6d 70 6f 6e 65 6e 74 73 | 20 74 6f 20 73 65 6e 64 |mponents| to send|
|00004f30| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 73 20 6f 6e | Apple e|vents on|
|00004f40| 20 74 68 65 69 72 20 62 | 65 68 61 6c 66 2c 20 61 | their b|ehalf, a|
|00004f50| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 63 61 6e 20 |pplicati|ons can |
|00004f60| 75 73 65 20 74 68 65 20 | 41 70 70 6c 65 20 45 76 |use the |Apple Ev|
|00004f70| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 64 69 72 65 |ent Mana|ger dire|
|00004f80| 63 74 6c 79 20 74 6f 20 | 73 65 6e 64 20 41 70 70 |ctly to |send App|
|00004f90| 6c 65 20 65 76 65 6e 74 | 73 20 74 6f 20 6f 74 68 |le event|s to oth|
|00004fa0| 65 72 20 61 70 70 6c 69 | 63 61 74 69 6f 6e 73 2e |er appli|cations.|
|00004fb0| 20 41 6c 6c 20 61 70 70 | 6c 69 63 61 74 69 6f 6e | All app|lication|
|00004fc0| 73 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 41 70 |s can us|e the Ap|
|00004fd0| 70 6c 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |ple Even|t Manage|
|00004fe0| 72 20 74 6f 20 72 65 73 | 70 6f 6e 64 20 61 70 70 |r to res|pond app|
|00004ff0| 72 6f 70 72 69 61 74 65 | 6c 79 20 74 6f 20 41 70 |ropriate|ly to Ap|
|00005000| 70 6c 65 20 65 76 65 6e | 74 73 2c 20 77 68 65 74 |ple even|ts, whet|
|00005010| 68 65 72 20 74 68 65 79 | 20 61 72 65 20 73 65 6e |her they| are sen|
|00005020| 74 20 62 79 20 74 68 65 | 20 45 64 69 74 69 6f 6e |t by the| Edition|
|00005030| 20 4d 61 6e 61 67 65 72 | 2c 20 61 20 73 63 72 69 | Manager|, a scri|
|00005040| 70 74 69 6e 67 20 63 6f | 6d 70 6f 6e 65 6e 74 2c |pting co|mponent,|
|00005050| 20 6f 72 20 6f 74 68 65 | 72 20 61 70 70 6c 69 63 | or othe|r applic|
|00005060| 61 74 69 6f 6e 73 2e 20 | 41 70 70 6c 69 63 61 74 |ations. |Applicat|
|00005070| 69 6f 6e 73 20 63 61 6e | 20 61 6c 73 6f 20 75 73 |ions can| also us|
|00005080| 65 20 74 68 65 20 45 76 | 65 6e 74 20 4d 61 6e 61 |e the Ev|ent Mana|
|00005090| 67 65 72 20 64 69 72 65 | 63 74 6c 79 20 74 6f 20 |ger dire|ctly to |
|000050a0| 73 65 6e 64 20 6f 72 20 | 72 65 63 65 69 76 65 20 |send or |receive |
|000050b0| 68 69 67 68 2d 6c 65 76 | 65 6c 20 65 76 65 6e 74 |high-lev|el event|
|000050c0| 73 20 6f 74 68 65 72 20 | 74 68 61 6e 20 41 70 70 |s other |than App|
|000050d0| 6c 65 20 65 76 65 6e 74 | 73 2c 20 61 6e 64 20 74 |le event|s, and t|
|000050e0| 68 65 20 50 50 43 20 54 | 6f 6f 6c 62 6f 78 20 64 |he PPC T|oolbox d|
|000050f0| 69 72 65 63 74 6c 79 20 | 74 6f 20 73 65 6e 64 20 |irectly |to send |
|00005100| 6f 72 20 72 65 63 65 69 | 76 65 20 62 6c 6f 63 6b |or recei|ve block|
|00005110| 73 20 6f 66 20 64 61 74 | 61 2e 0d 54 68 65 20 66 |s of dat|a..The f|
|00005120| 69 76 65 20 66 6f 72 6d | 73 20 6f 66 20 49 41 43 |ive form|s of IAC|
|00005130| 20 73 68 6f 77 6e 20 69 | 6e 20 46 69 67 75 72 65 | shown i|n Figure|
|00005140| 20 31 2d 31 20 63 61 6e | 20 62 65 20 73 75 6d 6d | 1-1 can| be summ|
|00005150| 61 72 69 7a 65 64 20 61 | 73 20 66 6f 6c 6c 6f 77 |arized a|s follow|
|00005160| 73 3a 0d 6e 09 53 68 61 | 72 69 6e 67 20 64 79 6e |s:.n.Sha|ring dyn|
|00005170| 61 6d 69 63 20 64 61 74 | 61 2e 20 54 68 65 20 45 |amic dat|a. The E|
|00005180| 64 69 74 69 6f 6e 20 4d | 61 6e 61 67 65 72 20 61 |dition M|anager a|
|00005190| 6c 6c 6f 77 73 20 75 73 | 65 72 73 20 74 6f 20 63 |llows us|ers to c|
|000051a0| 6f 70 79 20 64 61 74 61 | 20 66 72 6f 6d 20 6f 6e |opy data| from on|
|000051b0| 65 20 61 70 70 6c 69 63 | 61 74 69 6f 6e d5 73 20 |e applic|ation.s |
|000051c0| 64 6f 63 75 6d 65 6e 74 | 20 74 6f 20 61 6e 6f 74 |document| to anot|
|000051d0| 68 65 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e d5 |her appl|ication.|
|000051e0| 73 20 64 6f 63 75 6d 65 | 6e 74 2c 20 75 70 64 61 |s docume|nt, upda|
|000051f0| 74 69 6e 67 20 69 6e 66 | 6f 72 6d 61 74 69 6f 6e |ting inf|ormation|
|00005200| 20 61 75 74 6f 6d 61 74 | 69 63 61 6c 6c 79 20 77 | automat|ically w|
|00005210| 68 65 6e 20 74 68 65 20 | 64 61 74 61 20 69 6e 20 |hen the |data in |
|00005220| 74 68 65 20 6f 72 69 67 | 69 6e 61 6c 20 64 6f 63 |the orig|inal doc|
|00005230| 75 6d 65 6e 74 20 63 68 | 61 6e 67 65 73 2e 20 54 |ument ch|anges. T|
|00005240| 68 65 20 76 65 72 62 73 | 20 70 75 62 6c 69 73 68 |he verbs| publish|
|00005250| 20 61 6e 64 20 73 75 62 | 73 63 72 69 62 65 20 64 | and sub|scribe d|
|00005260| 65 73 63 72 69 62 65 20 | 74 68 69 73 20 66 6f 72 |escribe |this for|
|00005270| 6d 20 6f 66 20 64 79 6e | 61 6d 69 63 20 64 61 74 |m of dyn|amic dat|
|00005280| 61 20 73 68 61 72 69 6e | 67 2c 20 61 6e 64 20 74 |a sharin|g, and t|
|00005290| 68 65 20 6e 6f 75 6e 20 | 65 64 69 74 69 6f 6e 20 |he noun |edition |
|000052a0| 64 65 73 63 72 69 62 65 | 73 20 61 20 63 6f 70 79 |describe|s a copy|
|000052b0| 20 6f 66 20 74 68 65 20 | 64 61 74 61 20 74 6f 20 | of the |data to |
|000052c0| 62 65 20 73 68 61 72 65 | 64 2e 20 41 70 70 6c 69 |be share|d. Appli|
|000052d0| 63 61 74 69 6f 6e 73 20 | 74 68 61 74 20 73 75 70 |cations |that sup|
|000052e0| 70 6f 72 74 20 64 79 6e | 61 6d 69 63 20 64 61 74 |port dyn|amic dat|
|000052f0| 61 20 73 68 61 72 69 6e | 67 20 6d 75 73 74 20 69 |a sharin|g must i|
|00005300| 6d 70 6c 65 6d 65 6e 74 | 20 74 68 65 20 43 72 65 |mplement| the Cre|
|00005310| 61 74 65 20 50 75 62 6c | 69 73 68 65 72 20 61 6e |ate Publ|isher an|
|00005320| 64 20 53 75 62 73 63 72 | 69 62 65 20 54 6f 20 6d |d Subscr|ibe To m|
|00005330| 65 6e 75 20 63 6f 6d 6d | 61 6e 64 73 2e 20 54 68 |enu comm|ands. Th|
|00005340| 65 20 45 64 69 74 69 6f | 6e 20 4d 61 6e 61 67 65 |e Editio|n Manage|
|00005350| 72 20 70 72 6f 76 69 64 | 65 73 20 74 68 65 20 69 |r provid|es the i|
|00005360| 6e 74 65 72 66 61 63 65 | 20 74 68 61 74 20 61 6c |nterface| that al|
|00005370| 6c 6f 77 73 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |lows app|lication|
|00005380| 73 20 74 6f 20 73 68 61 | 72 65 20 65 64 69 74 69 |s to sha|re editi|
|00005390| 6f 6e 73 2e 0d 59 6f 75 | 20 63 61 6e 20 6c 65 74 |ons..You| can let|
|000053a0| 20 75 73 65 72 73 20 70 | 75 62 6c 69 73 68 20 61 | users p|ublish a|
|000053b0| 6e 64 20 73 75 62 73 63 | 72 69 62 65 20 6f 6e 20 |nd subsc|ribe on |
|000053c0| 61 20 6c 6f 63 61 6c 20 | 76 6f 6c 75 6d 65 20 6f |a local |volume o|
|000053d0| 72 20 61 63 72 6f 73 73 | 20 61 20 6e 65 74 77 6f |r across| a netwo|
|000053e0| 72 6b 2e 20 49 6e 20 67 | 65 6e 65 72 61 6c 2c 20 |rk. In g|eneral, |
|000053f0| 75 73 65 72 73 20 73 68 | 6f 75 6c 64 20 62 65 20 |users sh|ould be |
|00005400| 61 62 6c 65 20 74 6f 20 | 70 75 62 6c 69 73 68 20 |able to |publish |
|00005410| 6f 72 20 73 75 62 73 63 | 72 69 62 65 20 74 6f 20 |or subsc|ribe to |
|00005420| 61 6e 79 74 68 69 6e 67 | 20 74 68 61 74 20 74 68 |anything| that th|
|00005430| 65 79 20 63 61 6e 20 63 | 6f 70 79 20 6f 72 20 70 |ey can c|opy or p|
|00005440| 61 73 74 65 2e 20 d2 53 | 68 61 72 69 6e 67 20 44 |aste. .S|haring D|
|00005450| 61 74 61 20 41 6d 6f 6e | 67 20 41 70 70 6c 69 63 |ata Amon|g Applic|
|00005460| 61 74 69 6f 6e 73 2c d3 | 20 77 68 69 63 68 20 62 |ations,.| which b|
|00005470| 65 67 69 6e 73 20 6f 6e | 20 70 61 67 65 20 31 2d |egins on| page 1-|
|00005480| 37 2c 20 64 65 73 63 72 | 69 62 65 73 20 68 6f 77 |7, descr|ibes how|
|00005490| 20 79 6f 75 20 63 61 6e | 20 75 73 65 20 74 68 65 | you can| use the|
|000054a0| 20 70 75 62 6c 69 73 68 | 20 61 6e 64 20 73 75 62 | publish| and sub|
|000054b0| 73 63 72 69 62 65 20 66 | 65 61 74 75 72 65 73 20 |scribe f|eatures |
|000054c0| 69 6e 20 79 6f 75 72 20 | 61 70 70 6c 69 63 61 74 |in your |applicat|
|000054d0| 69 6f 6e 2e 0d 6e 09 53 | 63 72 69 70 74 69 6e 67 |ion..n.S|cripting|
|000054e0| 2e 20 54 68 65 20 4f 53 | 41 20 69 6e 63 6c 75 64 |. The OS|A includ|
|000054f0| 65 73 20 74 68 65 20 41 | 70 70 6c 65 20 45 76 65 |es the A|pple Eve|
|00005500| 6e 74 20 4d 61 6e 61 67 | 65 72 2c 20 74 68 65 20 |nt Manag|er, the |
|00005510| 41 70 70 6c 65 20 65 76 | 65 6e 74 73 20 64 65 66 |Apple ev|ents def|
|00005520| 69 6e 65 64 20 62 79 20 | 74 68 65 20 41 70 70 6c |ined by |the Appl|
|00005530| 65 20 45 76 65 6e 74 20 | 52 65 67 69 73 74 72 79 |e Event |Registry|
|00005540| 3a 20 53 74 61 6e 64 61 | 72 64 20 53 75 69 74 65 |: Standa|rd Suite|
|00005550| 73 2c 20 61 6e 64 20 74 | 68 65 20 72 6f 75 74 69 |s, and t|he routi|
|00005560| 6e 65 73 20 73 75 70 70 | 6f 72 74 65 64 20 62 79 |nes supp|orted by|
|00005570| 20 73 63 72 69 70 74 69 | 6e 67 20 63 6f 6d 70 6f | scripti|ng compo|
|00005580| 6e 65 6e 74 73 2c 20 77 | 68 69 63 68 20 61 70 70 |nents, w|hich app|
|00005590| 6c 69 63 61 74 69 6f 6e | 73 20 63 61 6e 20 75 73 |lication|s can us|
|000055a0| 65 20 76 69 61 20 74 68 | 65 20 43 6f 6d 70 6f 6e |e via th|e Compon|
|000055b0| 65 6e 74 20 4d 61 6e 61 | 67 65 72 20 74 6f 20 65 |ent Mana|ger to e|
|000055c0| 78 65 63 75 74 65 20 73 | 63 72 69 70 74 73 2e 20 |xecute s|cripts. |
|000055d0| 53 63 72 69 70 74 2d 65 | 64 69 74 69 6e 67 20 61 |Script-e|diting a|
|000055e0| 70 70 6c 69 63 61 74 69 | 6f 6e 73 20 73 75 63 68 |pplicati|ons such|
|000055f0| 20 61 73 20 54 6f 79 20 | 53 75 72 70 72 69 73 65 | as Toy |Surprise|
|00005600| 20 28 6e 6f 74 20 73 68 | 6f 77 6e 20 69 6e 20 46 | (not sh|own in F|
|00005610| 69 67 75 72 65 20 31 2d | 31 29 20 61 6c 6c 6f 77 |igure 1-|1) allow|
|00005620| 73 20 75 73 65 72 73 20 | 74 6f 20 6d 61 6e 69 70 |s users |to manip|
|00005630| 75 6c 61 74 65 20 61 6e | 64 20 65 78 65 63 75 74 |ulate an|d execut|
|00005640| 65 20 73 63 72 69 70 74 | 73 2e 20 0d 45 61 63 68 |e script|s. .Each|
|00005650| 20 73 63 72 69 70 74 69 | 6e 67 20 6c 61 6e 67 75 | scripti|ng langu|
|00005660| 61 67 65 20 68 61 73 20 | 61 20 63 6f 72 72 65 73 |age has |a corres|
|00005670| 70 6f 6e 64 69 6e 67 20 | 73 63 72 69 70 74 69 6e |ponding |scriptin|
|00005680| 67 20 63 6f 6d 70 6f 6e | 65 6e 74 20 74 68 61 74 |g compon|ent that|
|00005690| 20 63 61 6e 20 65 78 65 | 63 75 74 65 20 73 63 72 | can exe|cute scr|
|000056a0| 69 70 74 73 20 77 72 69 | 74 74 65 6e 20 69 6e 20 |ipts wri|tten in |
|000056b0| 74 68 61 74 20 6c 61 6e | 67 75 61 67 65 2e 20 53 |that lan|guage. S|
|000056c0| 63 72 69 70 74 69 6e 67 | 20 63 6f 6d 70 6f 6e 65 |cripting| compone|
|000056d0| 6e 74 73 20 74 79 70 69 | 63 61 6c 6c 79 20 69 6d |nts typi|cally im|
|000056e0| 70 6c 65 6d 65 6e 74 20 | 61 20 74 65 78 74 2d 62 |plement |a text-b|
|000056f0| 61 73 65 64 20 73 63 72 | 69 70 74 69 6e 67 20 6c |ased scr|ipting l|
|00005700| 61 6e 67 75 61 67 65 20 | 62 61 73 65 64 20 6f 6e |anguage |based on|
|00005710| 20 41 70 70 6c 65 20 65 | 76 65 6e 74 73 2e 20 46 | Apple e|vents. F|
|00005720| 6f 72 20 65 78 61 6d 70 | 6c 65 2c 20 74 68 65 20 |or examp|le, the |
|00005730| 41 70 70 6c 65 53 63 72 | 69 70 74 20 63 6f 6d 70 |AppleScr|ipt comp|
|00005740| 6f 6e 65 6e 74 20 69 6d | 70 6c 65 6d 65 6e 74 73 |onent im|plements|
|00005750| 20 41 70 70 6c 65 53 63 | 72 69 70 74 2c 20 74 68 | AppleSc|ript, th|
|00005760| 65 20 73 74 61 6e 64 61 | 72 64 20 75 73 65 72 20 |e standa|rd user |
|00005770| 73 63 72 69 70 74 69 6e | 67 20 6c 61 6e 67 75 61 |scriptin|g langua|
|00005780| 67 65 20 64 65 66 69 6e | 65 64 20 62 79 20 41 70 |ge defin|ed by Ap|
|00005790| 70 6c 65 20 43 6f 6d 70 | 75 74 65 72 2c 20 49 6e |ple Comp|uter, In|
|000057a0| 63 2e 20 57 68 65 6e 20 | 74 68 65 20 41 70 70 6c |c. When |the Appl|
|000057b0| 65 53 63 72 69 70 74 20 | 63 6f 6d 70 6f 6e 65 6e |eScript |componen|
|000057c0| 74 20 65 78 65 63 75 74 | 65 73 20 61 20 73 63 72 |t execut|es a scr|
|000057d0| 69 70 74 2c 20 69 74 20 | 70 65 72 66 6f 72 6d 73 |ipt, it |performs|
|000057e0| 20 74 68 65 20 61 63 74 | 69 6f 6e 73 20 64 65 73 | the act|ions des|
|000057f0| 63 72 69 62 65 64 20 69 | 6e 20 74 68 65 20 73 63 |cribed i|n the sc|
|00005800| 72 69 70 74 2c 20 69 6e | 63 6c 75 64 69 6e 67 20 |ript, in|cluding |
|00005810| 73 65 6e 64 69 6e 67 20 | 41 70 70 6c 65 20 65 76 |sending |Apple ev|
|00005820| 65 6e 74 73 20 74 6f 20 | 61 70 70 6c 69 63 61 74 |ents to |applicat|
|00005830| 69 6f 6e 73 20 77 68 65 | 6e 20 6e 65 63 65 73 73 |ions whe|n necess|
|00005840| 61 72 79 2e 20 0d d2 53 | 75 70 70 6f 72 74 69 6e |ary. ..S|upportin|
|00005850| 67 20 41 70 70 6c 65 53 | 63 72 69 70 74 20 61 6e |g AppleS|cript an|
|00005860| 64 20 4f 74 68 65 72 20 | 53 63 72 69 70 74 69 6e |d Other |Scriptin|
|00005870| 67 20 4c 61 6e 67 75 61 | 67 65 73 2c d3 20 77 68 |g Langua|ges,. wh|
|00005880| 69 63 68 20 62 65 67 69 | 6e 73 20 6f 6e 20 70 61 |ich begi|ns on pa|
|00005890| 67 65 20 31 2d 31 33 2c | 20 64 65 73 63 72 69 62 |ge 1-13,| describ|
|000058a0| 65 73 20 68 6f 77 20 74 | 68 65 20 4f 53 41 20 6d |es how t|he OSA m|
|000058b0| 61 6b 65 73 20 69 74 20 | 70 6f 73 73 69 62 6c 65 |akes it |possible|
|000058c0| 20 66 6f 72 20 79 6f 75 | 72 20 61 70 70 6c 69 63 | for you|r applic|
|000058d0| 61 74 69 6f 6e 20 74 6f | 20 0d 6e 09 70 72 6f 76 |ation to| .n.prov|
|000058e0| 69 64 65 20 68 75 6d 61 | 6e 2d 6c 61 6e 67 75 61 |ide huma|n-langua|
|000058f0| 67 65 20 65 71 75 69 76 | 61 6c 65 6e 74 73 20 74 |ge equiv|alents t|
|00005900| 6f 20 41 70 70 6c 65 20 | 65 76 65 6e 74 20 63 6f |o Apple |event co|
|00005910| 64 65 73 20 73 6f 20 74 | 68 61 74 20 73 63 72 69 |des so t|hat scri|
|00005920| 70 74 69 6e 67 20 63 6f | 6d 70 6f 6e 65 6e 74 73 |pting co|mponents|
|00005930| 20 63 61 6e 20 73 65 6e | 64 20 79 6f 75 72 20 61 | can sen|d your a|
|00005940| 70 70 6c 69 63 61 74 69 | 6f 6e 20 74 68 65 20 61 |pplicati|on the a|
|00005950| 70 70 72 6f 70 72 69 61 | 74 65 20 41 70 70 6c 65 |ppropria|te Apple|
|00005960| 20 65 76 65 6e 74 73 20 | 64 75 72 69 6e 67 20 73 | events |during s|
|00005970| 63 72 69 70 74 20 65 78 | 65 63 75 74 69 6f 6e 0d |cript ex|ecution.|
|00005980| 6e 09 61 6c 6c 6f 77 20 | 75 73 65 72 73 20 74 6f |n.allow |users to|
|00005990| 20 72 65 63 6f 72 64 20 | 74 68 65 69 72 20 61 63 | record |their ac|
|000059a0| 74 69 6f 6e 73 20 69 6e | 20 74 68 65 20 66 6f 72 |tions in| the for|
|000059b0| 6d 20 6f 66 20 61 20 73 | 63 72 69 70 74 0d 6e 09 |m of a s|cript.n.|
|000059c0| 6d 61 6e 69 70 75 6c 61 | 74 65 20 61 6e 64 20 65 |manipula|te and e|
|000059d0| 78 65 63 75 74 65 20 73 | 63 72 69 70 74 73 0d 6e |xecute s|cripts.n|
|000059e0| 09 53 65 6e 64 69 6e 67 | 20 61 6e 64 20 72 65 73 |.Sending| and res|
|000059f0| 70 6f 6e 64 69 6e 67 20 | 74 6f 20 41 70 70 6c 65 |ponding |to Apple|
|00005a00| 20 65 76 65 6e 74 73 2e | 20 59 6f 75 72 20 61 70 | events.| Your ap|
|00005a10| 70 6c 69 63 61 74 69 6f | 6e 20 63 61 6e 20 73 65 |plicatio|n can se|
|00005a20| 6e 64 20 41 70 70 6c 65 | 20 65 76 65 6e 74 73 20 |nd Apple| events |
|00005a30| 72 65 71 75 65 73 74 69 | 6e 67 20 73 65 72 76 69 |requesti|ng servi|
|00005a40| 63 65 73 20 6f 72 20 69 | 6e 66 6f 72 6d 61 74 69 |ces or i|nformati|
|00005a50| 6f 6e 20 64 69 72 65 63 | 74 6c 79 20 74 6f 20 6f |on direc|tly to o|
|00005a60| 74 68 65 72 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ther app|lication|
|00005a70| 73 2c 20 6f 72 20 72 65 | 73 70 6f 6e 64 20 74 6f |s, or re|spond to|
|00005a80| 20 73 75 63 68 20 72 65 | 71 75 65 73 74 73 2e 20 | such re|quests. |
|00005a90| 54 6f 20 73 75 70 70 6f | 72 74 20 41 70 70 6c 65 |To suppo|rt Apple|
|00005aa0| 53 63 72 69 70 74 20 61 | 6e 64 20 6d 6f 73 74 20 |Script a|nd most |
|00005ab0| 6f 74 68 65 72 20 73 63 | 72 69 70 74 69 6e 67 20 |other sc|ripting |
|00005ac0| 6c 61 6e 67 75 61 67 65 | 73 20 62 61 73 65 64 20 |language|s based |
|00005ad0| 6f 6e 20 74 68 65 20 4f | 53 41 2c 20 79 6f 75 72 |on the O|SA, your|
|00005ae0| 20 61 70 70 6c 69 63 61 | 74 69 6f 6e 20 6d 75 73 | applica|tion mus|
|00005af0| 74 20 62 65 20 61 62 6c | 65 20 74 6f 20 72 65 73 |t be abl|e to res|
|00005b00| 70 6f 6e 64 20 74 6f 20 | 41 70 70 6c 65 20 65 76 |pond to |Apple ev|
|00005b10| 65 6e 74 73 2e 20 d2 53 | 65 6e 64 69 6e 67 20 61 |ents. .S|ending a|
|00005b20| 6e 64 20 52 65 73 70 6f | 6e 64 69 6e 67 20 74 6f |nd Respo|nding to|
|00005b30| 20 41 70 70 6c 65 20 45 | 76 65 6e 74 73 2c d3 20 | Apple E|vents,. |
|00005b40| 77 68 69 63 68 20 62 65 | 67 69 6e 73 20 6f 6e 20 |which be|gins on |
|00005b50| 70 61 67 65 20 31 2d 39 | 2c 20 64 65 73 63 72 69 |page 1-9|, descri|
|00005b60| 62 65 73 20 68 6f 77 20 | 61 70 70 6c 69 63 61 74 |bes how |applicat|
|00005b70| 69 6f 6e 73 20 63 61 6e | 20 73 65 6e 64 20 61 6e |ions can| send an|
|00005b80| 64 20 72 65 73 70 6f 6e | 64 20 74 6f 20 41 70 70 |d respon|d to App|
|00005b90| 6c 65 20 65 76 65 6e 74 | 73 20 77 69 74 68 20 74 |le event|s with t|
|00005ba0| 68 65 20 61 69 64 20 6f | 66 20 74 68 65 20 41 70 |he aid o|f the Ap|
|00005bb0| 70 6c 65 20 45 76 65 6e | 74 20 4d 61 6e 61 67 65 |ple Even|t Manage|
|00005bc0| 72 2e 20 0d 6e 09 53 65 | 6e 64 69 6e 67 20 61 6e |r. .n.Se|nding an|
|00005bd0| 64 20 72 65 73 70 6f 6e | 64 69 6e 67 20 74 6f 20 |d respon|ding to |
|00005be0| 6f 74 68 65 72 20 68 69 | 67 68 2d 6c 65 76 65 6c |other hi|gh-level|
|00005bf0| 20 65 76 65 6e 74 73 2e | 20 54 68 65 20 45 76 65 | events.| The Eve|
|00005c00| 6e 74 20 4d 61 6e 61 67 | 65 72 20 61 6c 6c 6f 77 |nt Manag|er allow|
|00005c10| 73 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 74 |s applic|ations t|
|00005c20| 6f 20 73 75 70 70 6f 72 | 74 20 68 69 67 68 2d 6c |o suppor|t high-l|
|00005c30| 65 76 65 6c 20 65 76 65 | 6e 74 73 20 6f 74 68 65 |evel eve|nts othe|
|00005c40| 72 20 74 68 61 6e 20 41 | 70 70 6c 65 20 65 76 65 |r than A|pple eve|
|00005c50| 6e 74 73 2e 20 53 65 65 | 20 74 68 65 20 63 68 61 |nts. See| the cha|
|00005c60| 70 74 65 72 20 d2 45 76 | 65 6e 74 20 4d 61 6e 61 |pter .Ev|ent Mana|
|00005c70| 67 65 72 d3 20 69 6e 20 | 49 6e 73 69 64 65 20 4d |ger. in |Inside M|
|00005c80| 61 63 69 6e 74 6f 73 68 | 3a 20 4d 61 63 69 6e 74 |acintosh|: Macint|
|00005c90| 6f 73 68 20 54 6f 6f 6c | 62 6f 78 20 45 73 73 65 |osh Tool|box Esse|
|00005ca0| 6e 74 69 61 6c 73 20 66 | 6f 72 20 69 6e 66 6f 72 |ntials f|or infor|
|00005cb0| 6d 61 74 69 6f 6e 20 61 | 62 6f 75 74 20 68 69 67 |mation a|bout hig|
|00005cc0| 68 2d 6c 65 76 65 6c 20 | 65 76 65 6e 74 73 2e 0d |h-level |events..|
|00005cd0| 6e 09 45 78 63 68 61 6e | 67 69 6e 67 20 6d 65 73 |n.Exchan|ging mes|
|00005ce0| 73 61 67 65 20 62 6c 6f | 63 6b 73 2e 20 54 68 65 |sage blo|cks. The|
|00005cf0| 20 50 50 43 20 54 6f 6f | 6c 62 6f 78 20 61 6c 6c | PPC Too|lbox all|
|00005d00| 6f 77 73 20 61 70 70 6c | 69 63 61 74 69 6f 6e 73 |ows appl|ications|
|00005d10| 20 74 6f 20 65 78 63 68 | 61 6e 67 65 20 62 6c 6f | to exch|ange blo|
|00005d20| 63 6b 73 20 6f 66 20 64 | 61 74 61 20 77 69 74 68 |cks of d|ata with|
|00005d30| 20 65 61 63 68 20 6f 74 | 68 65 72 20 62 79 20 72 | each ot|her by r|
|00005d40| 65 61 64 69 6e 67 20 61 | 6e 64 20 77 72 69 74 69 |eading a|nd writi|
|00005d50| 6e 67 20 6c 6f 77 2d 6c | 65 76 65 6c 20 6d 65 73 |ng low-l|evel mes|
|00005d60| 73 61 67 65 20 62 6c 6f | 63 6b 73 2e 20 54 68 69 |sage blo|cks. Thi|
|00005d70| 73 20 6d 65 74 68 6f 64 | 20 6f 66 20 63 6f 6d 6d |s method| of comm|
|00005d80| 75 6e 69 63 61 74 69 6f | 6e 20 69 73 20 6d 6f 73 |unicatio|n is mos|
|00005d90| 74 20 75 73 65 66 75 6c | 20 66 6f 72 20 61 70 70 |t useful| for app|
|00005da0| 6c 69 63 61 74 69 6f 6e | 73 20 74 68 61 74 20 61 |lication|s that a|
|00005db0| 72 65 20 63 6c 6f 73 65 | 6c 79 20 69 6e 74 65 67 |re close|ly integ|
|00005dc0| 72 61 74 65 64 2c 20 73 | 70 65 63 69 66 69 63 61 |rated, s|pecifica|
|00005dd0| 6c 6c 79 20 64 65 73 69 | 67 6e 65 64 20 74 6f 20 |lly desi|gned to |
|00005de0| 77 6f 72 6b 20 74 6f 67 | 65 74 68 65 72 2c 20 6f |work tog|ether, o|
|00005df0| 72 20 64 65 70 65 6e 64 | 65 6e 74 20 6f 6e 20 65 |r depend|ent on e|
|00005e00| 61 63 68 20 6f 74 68 65 | 72 20 66 6f 72 20 69 6e |ach othe|r for in|
|00005e10| 66 6f 72 6d 61 74 69 6f | 6e 2e 20 49 74 20 63 61 |formatio|n. It ca|
|00005e20| 6e 20 61 6c 73 6f 20 62 | 65 20 75 73 65 64 20 69 |n also b|e used i|
|00005e30| 6e 20 63 6f 64 65 20 74 | 68 61 74 20 69 73 20 6e |n code t|hat is n|
|00005e40| 6f 74 20 65 76 65 6e 74 | 2d 62 61 73 65 64 2e 20 |ot event|-based. |
|00005e50| 53 65 65 20 d2 45 78 63 | 68 61 6e 67 69 6e 67 20 |See .Exc|hanging |
|00005e60| 4d 65 73 73 61 67 65 20 | 42 6c 6f 63 6b 73 d3 20 |Message |Blocks. |
|00005e70| 6f 6e 20 70 61 67 65 20 | 31 2d 32 32 20 66 6f 72 |on page |1-22 for|
|00005e80| 20 61 20 73 75 6d 6d 61 | 72 79 20 6f 66 20 74 68 | a summa|ry of th|
|00005e90| 65 20 63 61 70 61 62 69 | 6c 69 74 69 65 73 20 70 |e capabi|lities p|
|00005ea0| 72 6f 76 69 64 65 64 20 | 62 79 20 74 68 65 20 50 |rovided |by the P|
|00005eb0| 50 43 20 54 6f 6f 6c 62 | 6f 78 2e 0d 41 6c 6c 20 |PC Toolb|ox..All |
|00005ec0| 66 6f 72 6d 73 20 6f 66 | 20 49 41 43 20 61 72 65 |forms of| IAC are|
|00005ed0| 20 62 61 73 65 64 20 6f | 6e 20 74 68 65 20 70 72 | based o|n the pr|
|00005ee0| 65 6d 69 73 65 20 74 68 | 61 74 20 61 70 70 6c 69 |emise th|at appli|
|00005ef0| 63 61 74 69 6f 6e 73 20 | 63 6f 6f 70 65 72 61 74 |cations |cooperat|
|00005f00| 65 20 77 69 74 68 20 65 | 61 63 68 20 6f 74 68 65 |e with e|ach othe|
|00005f10| 72 2e 20 42 6f 74 68 20 | 74 68 65 20 61 70 70 6c |r. Both |the appl|
|00005f20| 69 63 61 74 69 6f 6e 20 | 73 65 6e 64 69 6e 67 20 |ication |sending |
|00005f30| 61 20 68 69 67 68 2d 6c | 65 76 65 6c 20 65 76 65 |a high-l|evel eve|
|00005f40| 6e 74 20 6f 72 20 6c 6f | 77 2d 6c 65 76 65 6c 20 |nt or lo|w-level |
|00005f50| 6d 65 73 73 61 67 65 20 | 62 6c 6f 63 6b 20 61 6e |message |block an|
|00005f60| 64 20 74 68 65 20 61 70 | 70 6c 69 63 61 74 69 6f |d the ap|plicatio|
|00005f70| 6e 20 72 65 63 65 69 76 | 69 6e 67 20 69 74 20 6d |n receiv|ing it m|
|00005f80| 75 73 74 20 61 67 72 65 | 65 20 6f 6e 20 74 68 65 |ust agre|e on the|
|00005f90| 20 70 72 6f 74 6f 63 6f | 6c 20 66 6f 72 20 63 6f | protoco|l for co|
|00005fa0| 6d 6d 75 6e 69 63 61 74 | 69 6f 6e 2e 20 59 6f 75 |mmunicat|ion. You|
|00005fb0| 20 63 61 6e 20 65 6e 73 | 75 72 65 20 65 66 66 65 | can ens|ure effe|
|00005fc0| 63 74 69 76 65 20 68 69 | 67 68 2d 6c 65 76 65 6c |ctive hi|gh-level|
|00005fd0| 20 63 6f 6d 6d 75 6e 69 | 63 61 74 69 6f 6e 20 62 | communi|cation b|
|00005fe0| 65 74 77 65 65 6e 20 79 | 6f 75 72 20 61 70 70 6c |etween y|our appl|
|00005ff0| 69 63 61 74 69 6f 6e 20 | 61 6e 64 20 6f 74 68 65 |ication |and othe|
|00006000| 72 20 4d 61 63 69 6e 74 | 6f 73 68 20 61 70 70 6c |r Macint|osh appl|
|00006010| 69 63 61 74 69 6f 6e 73 | 20 62 79 20 73 75 70 70 |ications| by supp|
|00006020| 6f 72 74 69 6e 67 20 74 | 68 65 20 73 74 61 6e 64 |orting t|he stand|
|00006030| 61 72 64 20 41 70 70 6c | 65 20 65 76 65 6e 74 73 |ard Appl|e events|
|00006040| 20 64 65 66 69 6e 65 64 | 20 69 6e 20 74 68 65 20 | defined| in the |
|00006050| 41 70 70 6c 65 20 45 76 | 65 6e 74 20 52 65 67 69 |Apple Ev|ent Regi|
|00006060| 73 74 72 79 3a 20 53 74 | 61 6e 64 61 72 64 20 53 |stry: St|andard S|
|00006070| 75 69 74 65 73 2e 0d 53 | 68 61 72 69 6e 67 20 44 |uites..S|haring D|
|00006080| 61 74 61 20 41 6d 6f 6e | 67 20 41 70 70 6c 69 63 |ata Amon|g Applic|
|00006090| 61 74 69 6f 6e 73 0d 41 | 6c 6c 20 4d 61 63 69 6e |ations.A|ll Macin|
|000060a0| 74 6f 73 68 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |tosh app|lication|
|000060b0| 73 20 63 61 6e 20 75 73 | 65 20 74 68 65 20 53 63 |s can us|e the Sc|
|000060c0| 72 61 70 20 4d 61 6e 61 | 67 65 72 20 74 6f 20 73 |rap Mana|ger to s|
|000060d0| 68 61 72 65 20 73 74 61 | 74 69 63 20 64 61 74 61 |hare sta|tic data|
|000060e0| 20 62 79 20 61 6c 6c 6f | 77 69 6e 67 20 74 68 65 | by allo|wing the|
|000060f0| 20 75 73 65 72 20 74 6f | 20 63 6f 70 79 20 61 6e | user to| copy an|
|00006100| 64 20 70 61 73 74 65 20 | 64 61 74 61 20 62 65 74 |d paste |data bet|
|00006110| 77 65 65 6e 20 64 6f 63 | 75 6d 65 6e 74 73 2e 20 |ween doc|uments. |
|00006120| 44 79 6e 61 6d 69 63 20 | 64 61 74 61 20 73 68 61 |Dynamic |data sha|
|00006130| 72 69 6e 67 2c 20 6f 72 | 20 61 75 74 6f 6d 61 74 |ring, or| automat|
|00006140| 65 64 20 63 6f 70 79 20 | 61 6e 64 20 70 61 73 74 |ed copy |and past|
|00006150| 65 20 6f 70 65 72 61 74 | 69 6f 6e 73 20 62 65 74 |e operat|ions bet|
|00006160| 77 65 65 6e 20 61 70 70 | 6c 69 63 61 74 69 6f 6e |ween app|lication|
|00006170| 73 2c 20 65 78 74 65 6e | 64 73 20 74 68 69 73 20 |s, exten|ds this |
|00006180| 63 61 70 61 62 69 6c 69 | 74 79 20 74 6f 20 64 79 |capabili|ty to dy|
|00006190| 6e 61 6d 69 63 61 6c 6c | 79 20 63 68 61 6e 67 69 |namicall|y changi|
|000061a0| 6e 67 20 64 61 74 61 2e | 20 54 68 65 20 45 64 69 |ng data.| The Edi|
|000061b0| 74 69 6f 6e 20 4d 61 6e | 61 67 65 72 20 6c 65 74 |tion Man|ager let|
|000061c0| 73 20 61 70 70 6c 69 63 | 61 74 69 6f 6e 73 20 73 |s applic|ations s|
|000061d0| 68 61 72 65 20 64 79 6e | 61 6d 69 63 20 64 61 74 |hare dyn|amic dat|
|000061e0| 61 20 61 74 20 74 68 65 | 20 75 73 65 72 d5 73 20 |a at the| user.s |
|000061f0| 72 65 71 75 65 73 74 2e | 20 59 6f 75 20 69 6e 63 |request.| You inc|
|00006200| 6f 72 70 6f 72 61 74 65 | 20 70 75 62 6c 69 73 68 |orporate| publish|
|00006210| 20 61 6e 64 20 73 75 62 | 73 63 72 69 62 65 20 63 | and sub|scribe c|
|00006220| 61 70 61 62 69 6c 69 74 | 69 65 73 20 69 6e 20 79 |apabilit|ies in y|
|00006230| 6f 75 72 20 61 70 70 6c | 69 63 61 74 69 6f 6e 20 |our appl|ication |
|00006240| 6d 75 63 68 20 61 73 20 | 79 6f 75 20 69 6e 63 6f |much as |you inco|
|00006250| 72 70 6f 72 61 74 65 20 | 63 6f 70 79 20 61 6e 64 |rporate |copy and|
|00006260| 20 70 61 73 74 65 20 63 | 61 70 61 62 69 6c 69 74 | paste c|apabilit|
|00006270| 69 65 73 2e 0d 41 20 75 | 73 65 72 20 63 61 6e 20 |ies..A u|ser can |
|00006280| 70 75 62 6c 69 73 68 20 | 64 61 74 61 20 62 79 20 |publish |data by |
|00006290| 73 65 6c 65 63 74 69 6e | 67 20 61 20 70 6f 72 74 |selectin|g a port|
|000062a0| 69 6f 6e 20 6f 66 20 74 | 65 78 74 2c 20 67 72 61 |ion of t|ext, gra|
|000062b0| 70 68 69 63 73 2c 20 6f | 72 20 6f 74 68 65 72 20 |phics, o|r other |
|000062c0| 64 61 74 61 20 69 6e 20 | 61 20 64 6f 63 75 6d 65 |data in |a docume|
|000062d0| 6e 74 20 61 6e 64 20 63 | 68 6f 6f 73 69 6e 67 20 |nt and c|hoosing |
|000062e0| 43 72 65 61 74 65 20 50 | 75 62 6c 69 73 68 65 72 |Create P|ublisher|
|000062f0| 20 66 72 6f 6d 20 74 68 | 65 20 45 64 69 74 20 6d | from th|e Edit m|
|00006300| 65 6e 75 2e 20 49 6e 20 | 72 65 73 70 6f 6e 73 65 |enu. In |response|
|00006310| 2c 20 79 6f 75 72 20 61 | 70 70 6c 69 63 61 74 69 |, your a|pplicati|
|00006320| 6f 6e 20 73 61 76 65 73 | 20 74 68 65 20 73 65 6c |on saves| the sel|
|00006330| 65 63 74 65 64 20 69 6e | 66 6f 72 6d 61 74 69 6f |ected in|formatio|
|00006340| 6e 20 69 6e 20 61 20 73 | 65 70 61 72 61 74 65 20 |n in a s|eparate |
|00006350| 66 69 6c 65 2e 20 54 68 | 69 73 20 73 74 6f 72 65 |file. Th|is store|
|00006360| 64 20 69 6e 66 6f 72 6d | 61 74 69 6f 6e 20 69 73 |d inform|ation is|
|00006370| 20 72 65 66 65 72 72 65 | 64 20 74 6f 20 61 73 20 | referre|d to as |
|00006380| 61 6e 20 65 64 69 74 69 | 6f 6e 2e 20 54 68 65 20 |an editi|on. The |
|00006390| 75 73 65 72 20 63 61 6e | 20 73 75 62 73 63 72 69 |user can| subscri|
|000063a0| 62 65 20 74 6f 20 61 6e | 20 65 64 69 74 69 6f 6e |be to an| edition|
|000063b0| 20 62 79 20 63 68 6f 6f | 73 69 6e 67 20 53 75 62 | by choo|sing Sub|
|000063c0| 73 63 72 69 62 65 20 54 | 6f 20 66 72 6f 6d 20 74 |scribe T|o from t|
|000063d0| 68 65 20 45 64 69 74 20 | 6d 65 6e 75 3b 20 77 68 |he Edit |menu; wh|
|000063e0| 65 6e 20 74 68 65 20 75 | 73 65 72 20 63 68 6f 6f |en the u|ser choo|
|000063f0| 73 65 73 20 61 20 66 69 | 6c 65 20 74 68 61 74 20 |ses a fi|le that |
+--------+-------------------------+-------------------------+--------+--------+
Only 25.0 KB of data is shown above.